Skip to content

personnummer/d

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

personnummer Build Status

Validate Swedish personal identity numbers. Follows version 3 of the specification.

Install the module with dub:

dub add personnummer

Example

import personnummer;

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

License

MIT