check_cnp_is_valid {rocnp} | R Documentation |
Check if a CNP is valid
Description
Check if a CNP is valid
Usage
check_cnp_is_valid(cnp)
Arguments
cnp |
a 13-digit number (or a vector of 13-digit numbers) representing the Personal Numeric Code - CNP |
Value
a logical vector (TRUE
, FALSE
or NA
)
Examples
check_cnp_is_valid(1940616346114)
check_cnp_is_valid(7041218318525)
check_cnp_is_valid(62012060180783)
check_cnp_is_valid(NA)
[Package rocnp version 0.1.0 Index]