Interface BigInt

    interface BigInt {
        [toStringTag]: "BigInt";
        toLocaleString(locales?: LocalesArgument, options?: BigIntToLocaleStringOptions): string;
        toString(radix?: number): string;
        valueOf(): bigint;
    }

    Properties

    [toStringTag]: "BigInt"

    Methods

    • Returns a string representation appropriate to the host environment's current locale.

      Parameters

      Returns string

    • Returns a string representation of an object.

      Parameters

      • Optionalradix: number

        Specifies a radix for converting numeric values to strings.

      Returns string

    • Returns the primitive value of the specified object.

      Returns bigint