TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit/machines
MachineDraft
check
Function check
check
<
K
extends
MachineKind
>
(
draft
:
MachineDraftOf
<
K
>
,
)
:
Result
<
{
[
P
in
MachineKind
]
:
MachineOf
<
P
>
}
[
K
]
,
readonly
MachineIssue
[]
>
Returns an immutable snapshot when no issue is an error, preserving the machine kind.
Type Parameters
K
extends
MachineKind
Parameters
draft
:
MachineDraftOf
<
K
>
Returns
Result
<
{
[
P
in
MachineKind
]
:
MachineOf
<
P
>
}
[
K
]
,
readonly
MachineIssue
[]
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
TOC Toolkit API - v0.1.0
Loading...
Returns an immutable snapshot when no issue is an error, preserving the machine kind.