BigInt
Example
Section titled “Example”import * as p from '@vbudovski/paseri';
const schema = p.bigint();const data = 456n;
const result = schema.safeParse(data);if (result.ok) { // result.value typed as `bigint`.}Playground
Section titled “Playground”Validators
Section titled “Validators”Greater than or equal to value.
p.string().gte(5n);Greater than value.
p.string().gt(5n);Less than or equal to value.
p.string().lte(5n);Less than value.
p.string().lt(5n);