@shumoku/core · 0.4.0 · function
specDeviceType
Extract DeviceType from a spec (hardware and compute only).
specDeviceType(spec: NodeSpec | undefined): DeviceType | undefined Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
spec | NodeSpec | undefined | No additional description. | — |
Returns
DeviceType | undefined