# portSpeedBps

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

@shumoku/core · 0.6.1 · function

# portSpeedBps

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

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

A port's \`speed\` (a rate such as \`10G\`, \`2.5g\`, \`100M\`) in bits/sec; nothing when unreadable.

```
portSpeedBps(speed: string | undefined): number | undefined
```

## パラメーター

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

## 戻り値

```
number | undefined
```

[`libs/@shumoku/core/src/libs/@shumoku/core/src/models/link-speed.ts:39`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/models/link-speed.ts#L39)
