Function numberToString

  • Converts a number to a string.

    Returns

    The string representation of the number.

    Throws

    Error if the number is invalid.

    Parameters

    • arg: string | number | bigint

      The number to convert to a string.

    Returns string