bigint()
bigint(
message?):BigIntConstraint
BigInt schema with 0 overhead after tsup + Terser build.
Usage identical to before:
- bigint()
- bigint("Custom error")
- bigint().min(5n)
- bigint().positive()
Parametersโ
message?: stringโ
Custom error message (optional).
Returns: BigIntConstraintโ
BigIntSchema with all constraints.
Sinceโ
2.0.0