@shumoku/core · 0.4.2 · 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 libs/@shumoku/core/src/libs/@shumoku/core/src/models/types.ts:405