@metreeca/core - v0.9.11
    Preparing search index...

    Type Alias Handler<V, R>

    Handler: R | ((value: V) => R)

    Condition handler.

    Either a constant value of type R, or a function (value: V) => R that computes the result.

    Type Parameters

    • V

      The type of the matched condition value

    • R

      The return type of the handler