@dbidwell94/ts-utils
    Preparing search index...

    Type Alias Result<T, E>

    Result: (Success<T> | Failure<E>) & ResultUtils<T, E>

    Represents a Result<T, E> type that can be either a Success<T> or a Failure<E>

    Type Parameters

    • T

      The type of the value contained in the Result<T, E>

    • E extends Error = Error

      The type of the error contained in the Result<T, E>

    • Success
    • Failure