Skip to content

Function: stateMatches()

Documentation / @xmachines/play-xstate / stateMatches

function stateMatches<TContext>(stateValue): Guard<TContext, PlayEvent>;

Defined in: packages/play-xstate/src/guards/helpers.ts:75

Type Parameters

Type ParameterDefault type
TContextRecord<string, unknown>

Parameters

ParameterType
stateValuestring

Returns

Guard<TContext, PlayEvent>