checkIBANInput
function checkIBANInput(value): InputState;Defined in: input.ts:164
Checks a Pakistani IBAN while the user is typing: the PK prefix, check
digits and bank code are checked as they are typed, and the full checksum
once all 24 characters are in. See InputState.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
value |
string |
Returns
Section titled “Returns”Example
Section titled “Example”checkIBANInput('PK36 SC'); // 'incomplete'checkIBANInput('GB29'); // 'invalid'checkIBANInput('PK36 SCBL 0000 0011 2345 6702'); // 'valid'