Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

reachForLink

Source

Effective reach in meters for a link, accounting for the cable grade. Falls back to the standard's `maxReach_m` when the grade isn't set or isn't in the registry's per-grade table.

reachForLink(standard: EthernetStandard | undefined, cableCategory: string | undefined): number | undefined

Parameters

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

Returns

number | undefined

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