Skip to content

getBankFromIBAN

function getBankFromIBAN(iban): string | null;

Defined in: iban.ts:119

Returns the bank name for a valid Pakistani IBAN based on its 4-letter bank code.

Returns null when the IBAN is invalid or the bank code is not in the dataset.

Parameter Type Description
iban string IBAN string to look up

string | null

Bank name or null if not found