Skip to content
Version: xstate@5.0.0

StateNode.ownEvents property​

All the events that have transitions directly from this state node.

Excludes any inert events.

Signature:

get ownEvents(): Array<TEvent['type']>;