View Source IbanEx.Formatter (iban_ex v0.1.0)
Summary
Types
@type available_format() :: :compact | :pretty | :splitted
@type available_formats_list() :: [:compact | :pretty | :splitted]
@type iban() :: IbanEx.Iban.t()
Functions
@spec available_formats() :: available_formats_list()
@spec compact(IbanEx.Iban.t()) :: binary()
@spec format(iban(), available_format()) :: String.t()
@spec pretty(IbanEx.Iban.t()) :: binary()
@spec splitted(IbanEx.Iban.t()) :: binary()