effect-io-ai

Package: effect
Module: Schema

Schema.BigInt

This schema transforms a string into a bigint by parsing the string using the BigInt function.

It returns an error if the value can’t be converted (for example when non-numeric characters are provided).

Signature

declare const BigInt: typeof BigInt$

Source

Since v3.10.0