@shumoku/core · 0.4.0 · function
mediumFromStandard
Derive the cable medium implied by an Ethernet standard. Resolves the standard via `STANDARD_SPECS` and maps `cableKind` + `fiberMode` onto the unified `CableMedium` enum.
mediumFromStandard(standard: EthernetStandard | undefined): CableMedium | undefined Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
standard | EthernetStandard | undefined | No additional description. | — |
Returns
CableMedium | undefined