View Source IbanEx.Formatter (iban_ex v0.1.0)

Summary

Types

@type available_format() :: :compact | :pretty | :splitted
Link to this type

available_formats_list()

View Source
@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()
Link to this function

format(iban, format \\ :compact)

View Source
@spec format(iban(), available_format()) :: String.t()
@spec pretty(IbanEx.Iban.t()) :: binary()
@spec splitted(IbanEx.Iban.t()) :: binary()