Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

mediumFromGrade

ソース

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

Derive the cable medium kind from a `CableGrade`. Twisted-pair categories map to twisted-pair, OM3/4/5 → multi-mode fiber, OS1/2 → single-mode fiber, DAC and AOC are their own mediums.

mediumFromGrade(grade: CableGrade | undefined): CableMedium | undefined

パラメーター

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

戻り値

CableMedium | undefined

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