Evercatch - v0.5.0
    Preparing search index...

    Type Alias ResultFn<A, T, E, S>

    ResultFn: (...args: A) => Result<T, E, S>

    Represents a synchronous function that returns a Result.

    Type Parameters

    • A extends unknown[] = any[]

      The arguments of the function.

    • T = unknown

      The type of the success value.

    • E extends string = string

      A string literal type for the error label.

    • S = unknown

      The type of the source error.

    Type declaration