A JSON array.
A JSON object.
A JSON scalar shape; number cannot exclude non-finite values at the type level.
Represents the recursive shape of JSON data.
Represents an array that can be nested to an arbitrary depth.
Represents a leaf value of type T or a NestedArray.
Extends a type to also accept null or undefined.
Represents null or undefined.
Converts a type into a tuple whose element is optional when T is assignable
to void | undefined.
Represents a value that may or may not be wrapped in a Promise.
Recursively makes all properties of type T optional.
A discriminated union representing success or failure.
Asserts at compile time that two types are mutually assignable.
Checks whether a value is nullish, narrowing it to Nullish.
Checks whether a result is failed, narrowing it to Err.
Checks whether a result is successful, narrowing it to Ok.
Extracts the value from a successful result, or throws the error.
Extracts the value from a successful result, or returns a fallback.
Extracts the value from a successful result, or computes a fallback from the error.
A failed result.