AntlPhonenumber.Range (AntlPhonenumber v0.1.0) View Source

Defines a range of phone numbers.

Link to this section Summary

Link to this section Types

Specs

t() :: %AntlPhonenumber.Range{
  first: String.t(),
  iso_country_code: String.t(),
  last: String.t()
}

Link to this section Functions

Link to this function

new(first, last, iso_country_code)

View Source

Specs

new(String.t(), String.t(), String.t()) :: t()

Creates a new range.

Examples

iex> AntlPhonenumber.Range.new "0548451840", "0548451845", "IL"
%AntlPhonenumber.Range{
  first: "972548451840",
  last: "972548451845",
  iso_country_code: "IL"
}