Skip to content
Version: xstate@5.0.0

State.toStrings() method​

Returns an array of all the string leaf state node paths.

Signature:

toStrings(stateValue?: StateValue): string[];

Parameters​

ParameterTypeDescription
stateValueStateValue(Optional)

Returns:

string[]