Function bigintFromNumber

      • This combinator transforms a number into a bigint by parsing the number using the BigInt function.

        It returns an error if the value can't be safely encoded as a number due to being out of range.

        Type Parameters

        • I

        • A extends number

        Parameters

        • self: Schema<I, A>

          The schema representing the input number

        Returns Schema<I, bigint>

        Since

        1.0.0