# linkSpeedBps

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

@shumoku/core · 0.4.0 · function

# linkSpeedBps

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

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

Resolve a link's nominal speed (bits/sec). Reads per-endpoint module standards (the canonical source) and falls back to runtime \`rateBps\` when neither end has a module set. For symmetric links both endpoints return the same speed; for asymmetric links (BiDi etc.) we pick the lower of the two (conservative for utilization math).

```
linkSpeedBps(link: Link | null | undefined): number | undefined
```

## パラメーター

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

## 戻り値

```
number | undefined
```

[`libs/@shumoku/core/src/layout/link-utils.ts:73`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/link-utils.ts#L73)
