@tempots/std

Invalid type

Represents an invalid value with an associated error.

Signature:

export type Invalid = {
    readonly type: 'invalid';
    readonly error: E;
};