Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.6.1 · function

portsSpeedBps

Source

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