Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

plugFromStandard

ソース

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

Build a plug from a chosen module standard. The plug carries only the `module` — `cage` is intentionally omitted because it's derivable from `module.standard` via `STANDARD_SPECS[std].cage`. Returns `undefined` if the standard is unknown.

plugFromStandard(standard: EthernetStandard, sku?: string): LinkPlug | undefined

パラメーター

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

戻り値

LinkPlug | undefined

libs/@shumoku/core/src/models/port-compatibility.ts:125