bran v0.2.0 BRAN.Banks.C6 View Source

Documentation BRAN.Banks.C6

Link to this section Summary

Functions

Returns a tuple, after checking if the account_number and digit is valid

Link to this section Functions

Link to this function

validate(agency_code, account_number, digit)

View Source

Specs

validate([Integer.t()], [Integer.t()], Integer.t() | String.t()) ::
  {:error, :not_valid} | {:ok, :valid}

Returns a tuple, after checking if the account_number and digit is valid

##Examples iex> BRAN.Banks.C6.validate([0,0,0,1], [1,7,9,2,7,0,6], 4)