Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

EN

@shumoku/core · 0.6.1 · function

portSpeedBps

ソース

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