NIC number, old (9 digits + V/X) or new (12 digits). Strings and finite numbers are accepted; other types return a failure without throwing.
Optionaloptions: NicOptions
Optional { referenceDate } used for age and future-date checks. Defaults to today.
true for a valid old- or new-format NIC, otherwise false.
Checks whether an input string is a valid Sri Lankan NIC (old or new format).