Or<G>: {
    op: "or";
    value: readonly (G | Op<G>)[];
}

The type of guard for state machine. Combines the results of multiple guard functions using the logical || operator.

Note: An empty guards will be false.

Type Parameters

  • G extends string

    The type of guard names for state machine functions.