Skip to content
Version: xstate@5.0.0

Actor.toJSON() method​

Signature:

toJSON(): {
xstate$$type: number;
id: string;
};

Returns:

{ xstate$$type: number; id: string; }