Skip to Content
This is documentation for Trrack 2.0. Click here for legacy Trrack documentation →
FunctionsFunction: isStateNode()

@trrack/core


@trrack/core / isStateNode

Function: isStateNode()

isStateNode<State, Event>(node): node is StateNode<State, Event>

Defined in: graph/components/node.ts:93 

Type Parameters

State

State

Event

Event extends string

Parameters

node

ProvenanceNode<State, Event>

Returns

node is StateNode<State, Event>

Last updated on