CPF v0.1.0 CPF View Source
CPF mobulde provides functions to verify if a CPF is valid.
Link to this section Summary
Functions
Returns true
the given cpf
is valid, otherwise false
.
Link to this section Functions
Link to this function
valid?(cpf) View Source
Returns true
the given cpf
is valid, otherwise false
.
Examples
iex> CPF.valid?(563_606_676_73)
true
iex> CPF.valid?(563_606_676_72)
false