Adds validation for Swedish personal identity numbers to Yup.
$ npm install yup-personnummer
import * as Yup from 'yup'
import 'yup-personnummer'
const schema = Yup.string().personnummer().required()
console.log(schema.isValidSync('190905271474')) // true