effect-io-ai

Package: effect
Module: Schema

Schema.isStringBigInt

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.

Signature

declare const isStringBigInt: (annotations?: Annotations.Filter) => SchemaAST.Filter<string>

Source

Since v4.0.0