Validates a TIN returning detailed ValidationResult.
Taxpayer Identification Number.
{ isValid: true, data } with the TIN without separators, or { isValid: false, error, errors, code }.
{ isValid: true, data }
{ isValid: false, error, errors, code }
validateTIN('123-456-789').isValid; // true Copy
validateTIN('123-456-789').isValid; // true
Validates a TIN returning detailed ValidationResult.