Skip to content

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.

Parameter Type Description
iban string IBAN string to validate

boolean

true if valid, otherwise false