Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

mediumFromStandard

ソース

APIの説明は英語のcanonical sourceを表示しています。

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

パラメーター

名前 説明 既定値
standard EthernetStandard | undefined 追加説明はありません。

戻り値

CableMedium | undefined

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