TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit/machines
MachineDraft
deleteStates
Function deleteStates
deleteStates
<
D
extends
AnyMachineDraft
>
(
draft
:
D
,
ids
:
readonly
`
state:
${
string
}
`
[]
,
)
:
EditedDraft
<
D
>
Removes the selected states and repairs the start reference, allowing an empty draft.
Type Parameters
D
extends
AnyMachineDraft
Parameters
draft
:
D
ids
:
readonly
`
state:
${
string
}
`
[]
Returns
EditedDraft
<
D
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
TOC Toolkit API - v0.1.0
Loading...
Removes the selected states and repairs the start reference, allowing an empty draft.