Hyperlinkv0.8.0-beta.28

Schema

Schema.isStringBigIntconsteffect/Schema.ts:6616
(annotations?: Annotations.Filter): SchemaAST.Filter<string>

Validates that a string is a signed base-10 integer literal for Effect's BigInt string encoding.

Details

The check uses the pattern ^-?\d+$. It does not accept leading +, decimal points, exponent notation, separators, or non-decimal inputs such as hexadecimal strings.

JSON Schema: This check corresponds to a pattern constraint with the same signed base-10 integer pattern.

String checks
Source effect/Schema.ts:66161 lines
export const isStringBigInt: (annotations?: Annotations.Filter) => SchemaAST.Filter<string> = SchemaAST.isStringBigInt
Referenced by 1 symbols