const schema = x.bigint Copy
const schema = x.bigint
const schema = pipe(x.bigint, x.min(1n))const schema = pipe(x.bigint, x.min(1n, 'Non-Zero'))const schema = pipe(x.bigint, x.max(10n))const schema = pipe(x.bigint, x.max(10n, 'small'))const schema = pipe(x.bigint, x.between(1n, 10n))const schema = pipe(x.bigint, x.between(1n, 10n, 'small but non-zero')) Copy
const schema = pipe(x.bigint, x.min(1n))const schema = pipe(x.bigint, x.min(1n, 'Non-Zero'))const schema = pipe(x.bigint, x.max(10n))const schema = pipe(x.bigint, x.max(10n, 'small'))const schema = pipe(x.bigint, x.between(1n, 10n))const schema = pipe(x.bigint, x.between(1n, 10n, 'small but non-zero'))
Example
Example: Apply constraints using `x.min`, `x.max` and `x.between`