• Validator function Return true if the passed string is a valid tax identification number for the specified locale. Throw an error exception if the locale is not supported.

    Parameters

    • str: string
    • Optional locale: string

    Returns boolean

Generated using TypeDoc