Evercatch - v0.10.0
    Preparing search index...

    Type Alias ResultFn<F, E>

    ResultFn: (...args: Parameters<F>) => Result<ReturnType<F>, E>

    Represents a function that returns a Result.

    Type Parameters

    • F extends (...args: any[]) => any

      The function type.

    • E extends NotNullish<E>

      The type of the error. Cannot be nullish.

    Type declaration

      • (...args: Parameters<F>): Result<ReturnType<F>, E>
      • Parameters

        • ...args: Parameters<F>

        Returns Result<ReturnType<F>, E>