Interface: Guard
Defined in: src/interaction/StateMachine.ts:29
A transition guard. It returns true when the transition may fire for the
given input snapshot. Build one with when, or combine several with
allOf and anyOf.
Methods
evaluate()
evaluate(
snapshot):boolean
Defined in: src/interaction/StateMachine.ts:30
Parameters
snapshot
Returns
boolean