@shumoku/core · 0.6.1 · function
portsSpeedBps
The speed the ports at a link's ends name: the slower of the two, the only one when one end names it, nothing when neither does.
portsSpeedBps(speeds: readonly string | undefined[]): number | undefined Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
speeds | readonly string | undefined[] | No additional description. | — |
Returns
number | undefined libs/@shumoku/core/src/libs/@shumoku/core/src/models/link-speed.ts:50