The string to be checked.
A boolean indicating whether the string is a valid Danish SSN.
This function uses the parseSocialSecurityNumberDK
function to validate the SSN.
Will throw an error if the parseSocialSecurityNumberDK
function throws an error.
isSocialSecurityNumberDK('123456-7890');;
//=> true
isSocialSecurityNumberDK('123456-789');;
//=> false
Generated using TypeDoc
Checks if the given string is a valid Danish Social Security Number (SSN).