Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

cableConnectorForStandard

Source

Derive the cable-end connector from the link's effective standard. The model no longer stores `cable.connector` explicitly — call this from display / validation code that needs the connector value.

cableConnectorForStandard(standard: EthernetStandard | undefined): CableConnector | undefined

Parameters

Parameter Type Description Default
standard EthernetStandard | undefined No additional description.

Returns

CableConnector | undefined

libs/@shumoku/core/src/models/standards.ts:627