View Source IbanEx.Parser (iban_ex v0.1.0)

Summary

Types

@type check_digits_string() :: <<_::16>>
@type country_code_string() :: <<_::16>>
@type iban_or_error() :: IbanEx.Iban.t() | {:error, atom()}
@type iban_string() :: String.t()

Functions

@spec bban(binary()) :: binary()
Link to this function

check_digits(iban_string)

View Source
@spec check_digits(binary()) :: check_digits_string()
Link to this function

country_code(iban_string)

View Source
@spec country_code(iban_string()) :: country_code_string()
@spec parse({:ok, String.t()} | String.t()) :: iban_or_error()