ZaIdNumber (za_id_number v1.1.0)
Documentation for ZaIdNumber
.
Summary
Functions
ZaIdNumber validates and retrieves South African ID Number data
Functions
Link to this function
validate(id_number, opts \\ [])
@spec validate( binary(), keyword() ) :: {:ok, ZaIdNumber.Validator.result()} | {:error, binary()}
ZaIdNumber validates and retrieves South African ID Number data
Examples
iex> ZaIdNumber.validate("12345")
{:error, "Invalid ID Number format"}