@shumoku/core · 0.4.0 · function
plugFromStandard
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 Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
standard | EthernetStandard | No additional description. | — |
sku | string | No additional description. | — |
Returns
LinkPlug | undefined