ixfx
    Preparing search index...

    Type Alias DriverStatesHandler<V>

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

    Type Parameters

    Index

    Properties

    Properties

    if: readonly 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)