ixfx
    Preparing search index...

    Type Alias DriverStatesHandler<V>

    type DriverStatesHandler<V extends Transitions> = {
        if: ReadonlyArray<StateNames<V>> | StateNames<V>[] | StateNames<V>;
        resultChoice?: "first" | "highest" | "lowest" | "random";
        then:
            | ReadonlyArray<DriverExpressionOrResult<V>>
            | DriverExpressionOrResult<V>;
    }

    Type Parameters

    Index

    Properties

    Properties

    if: ReadonlyArray<StateNames<V>> | StateNames<V>[] | StateNames<V>
    resultChoice?: "first" | "highest" | "lowest" | "random"

    Logic for choosing which result, if there are multiple expressions. By default 'highest' (for highest ranked result)