Validate Finnish personal identity codes (hetu).
Value
A logical vector indicating whether the input vector contains valid Finnish personal identity codes.
See also
hetu
For extracting information from Finnish personal
identity codes.
Examples
pin_ctrl("010101-0101") # TRUE
#> [1] TRUE
pin_ctrl("010101-010A") # FALSE
#> [1] FALSE
pin_ctrl(c("010101-0101", "010101-010A")) # TRUE FALSE
#> [1] TRUE FALSE
hetu_ctrl("010101-0101") # TRUE
#> [1] TRUE
hetu_ctrl("010101-010A") # FALSE
#> [1] FALSE
hetu_ctrl(c("010101-0101", "010101-010A")) # TRUE FALSE
#> [1] TRUE FALSE