@jiminp/tooltool
    Preparing search index...

    Module type

    Err

    A failed result.

    Ok

    A successful result.

    JSONArray

    A JSON array.

    JSONObject

    A JSON object.

    JSONScalar

    A JSON scalar shape; number cannot exclude non-finite values at the type level.

    JSONValue

    Represents the recursive shape of JSON data.

    NestedArray

    Represents an array that can be nested to an arbitrary depth.

    NestedArrayElement

    Represents a leaf value of type T or a NestedArray.

    Nullable

    Extends a type to also accept null or undefined.

    Nullish

    Represents null or undefined.

    OptionalIfVoid

    Converts a type into a tuple whose element is optional when T is assignable to void | undefined.

    Promisable

    Represents a value that may or may not be wrapped in a Promise.

    RecursivePartial

    Recursively makes all properties of type T optional.

    Result

    A discriminated union representing success or failure.

    assertEqualType

    Asserts at compile time that two types are mutually assignable.

    isNullish

    Checks whether a value is nullish, narrowing it to Nullish.

    isResultErr

    Checks whether a result is failed, narrowing it to Err.

    isResultOk

    Checks whether a result is successful, narrowing it to Ok.

    resultUnwrap

    Extracts the value from a successful result, or throws the error.

    resultUnwrapOr

    Extracts the value from a successful result, or returns a fallback.

    resultUnwrapOrElse

    Extracts the value from a successful result, or computes a fallback from the error.