Check
Summary
A reusable check for use with schema.pipe(...).
Signature
type Check<output> = {
check: (value: output) => boolean;
code?: string;
message?: string;
values?: Record<string, unknown>;
};
A reusable check for use with schema.pipe(...).
type Check<output> = {
check: (value: output) => boolean;
code?: string;
message?: string;
values?: Record<string, unknown>;
};