# deviceTypeOf

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

@shumoku/core · 0.6.1 · function

# deviceTypeOf

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-model-graph.ts#L522)

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

A written type as the device type it names: its own spelling or an alias, in any case.

```
deviceTypeOf(type: string): DeviceType
```

## パラメーター

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

## 戻り値

```
DeviceType
```

[`libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-model-graph.ts:522`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-model-graph.ts#L522)
