Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

specDeviceType

Source

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/models/types.ts:393