# labelText

Canonical: https://docs.shumoku.dev/ja/library/api/labelText
Language: ja

@shumoku/core · 0.4.2 · function

# labelText

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/models/diagram-presentation.ts#L42)

APIの説明は英語のcanonical sourceを表示しています。

A label line as drawn: the bold and line-break markup a label may carry is not text.

```
labelText(line: string): string
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `line` | `string` | 追加説明はありません。 | `—` |

## 戻り値

```
string
```

[`libs/@shumoku/core/src/libs/@shumoku/core/src/models/diagram-presentation.ts:42`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/models/diagram-presentation.ts#L42)
