Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function starkIsIBAN(iban: string): boolean {
if (typeof iban === "string") {
// Since v2.0.0 of ibantools, isValidIBAN() is false if there is " " in the verified IBAN
return isValidIBAN(electronicFormatIBAN(iban));
}
return false;
}
iban(v) {
return electronicFormatIBAN(v);
},
bic(v) {