@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