Closed abelosorio closed 5 years ago
Hello,
Sorry for the super late reply, going through the issues backlog.
The correct way to call isValidBBAN
is by passing the country code as first parameter (which is not properly documented, I must say). So your code becomes:
iban.isValidBBAN('CR', iban.toBBAN('CR25010200009074883572'));
// true
Hi @LaurentVB! It's okay.
I wouldn't close this issue until the documentation is updated, since other people may face it.
Thanks!
I have a valid BBAN but the method
isValidBBAN
returns false with it: