A JSON array.
A JSON object.
A JSON scalar: null, boolean, number, or string.
Any valid JSON value.
Represents an array that can be nested to an arbitrary depth.
Represents a single element within a NestedArray.
Extends a type to also accept null or undefined.
Represents null or undefined.
Converts a type into a tuple that is optional when T is void or 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.
Compile-time assertion that two types are exactly equal.
Type guard: checks if a value is nullish (null or undefined).
Type guard: checks if a result is failed.
Type guard: checks if a result is successful.
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.