/d

Validate Swedish personal identity numbers

Primary LanguageDMIT LicenseMIT

personnummer Build Status

Validate Swedish personal identity numbers.

Install the module with dub:

dub add personnummer

Example

import personnummer;

void main() {
    Personnummer.valid("198507099805")
    // => true
}

License

MIT