JSON::encode_json\s*(({[^{}](?:{[^{}]}[^{}])}))
send_as JSON => $1
JSON::encode_json\s*(({[^{}](?:{[^{}]}[^{}])}))
send_as JSON => $1
| /** | |
| * Validate a provided ABN via 3 methods: numerically, via API, and (optionally) mathematically | |
| * | |
| * @param {string} abn The ABN to validate. White space is trimmed at runtime. | |
| * @returns {bool} | |
| */ | |
| function validateAbn(abn) { | |
| // ABR requires a guid to access the API |