validateIBAN
function validateIBAN(iban): boolean;Defined in: iban.ts:100
Validates a Pakistani IBAN using format and ISO 13616 mod-97 checksum.
Accepts spaced or unspaced input. Only PK IBANs of exactly 24 characters
are supported.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
iban |
string |
IBAN string to validate |
Returns
Section titled “Returns”boolean
true if valid, otherwise false