TopStateName
TopStateName<
Value> =Valueextendsstring?Value:Extract<keyofValue,string>
The name of a top state, from a machine’s value: the key of a state with no states of its own, or the key of the state that holds them.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Value |