ts-data-forge
    Preparing search index...

    Namespace Result

    Namespace for the Result type and related functions. Provides utilities to handle operations that can succeed or fail.

    Type Aliases

    Base
    Err
    NarrowToErr
    NarrowToOk
    Ok
    UnwrapErr
    UnwrapOk

    Functions

    err
    expectToBe
    flatMap
    fold
    fromPromise
    fromThrowable
    isErr
    isOk
    isResult
    map
    mapErr
    ok
    orElse
    swap
    toOptional
    unwrapErr
    unwrapErrOr
    unwrapErrThrow
    unwrapOk
    unwrapOkOr
    unwrapThrow
    zip