Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.6.1 · function

portSpeedBps

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

Parameters

Parameter Type Description Default
speed string | undefined No additional description. —

Returns

number | undefined

libs/@shumoku/core/src/libs/@shumoku/core/src/models/link-speed.ts:39