View Source Faker.Phone.Hy (Faker v0.18.0)
Functions for generating phone related data in Armenian
Summary
Functions
Returns a random cell phone number.
Returns a random landline phone number.
Returns a random phone number.
Functions
@spec cell_number() :: String.t()
Returns a random cell phone number.
Examples
iex> Faker.Phone.Hy.cell_number()
"15-426461"
iex> Faker.Phone.Hy.cell_number()
"83-297052"
iex> Faker.Phone.Hy.cell_number()
"(57) 020303"
iex> Faker.Phone.Hy.cell_number()
"09.733760"
@spec landline_number() :: String.t()
Returns a random landline phone number.
Examples
iex> Faker.Phone.Hy.landline_number()
"154-26461"
iex> Faker.Phone.Hy.landline_number()
"832-97052"
iex> Faker.Phone.Hy.landline_number()
"(570) 20303"
iex> Faker.Phone.Hy.landline_number()
"097.33760"
@spec number() :: String.t()
Returns a random phone number.
Examples
iex> Faker.Phone.Hy.number()
"10.542646"
iex> Faker.Phone.Hy.number()
"83-297052"
iex> Faker.Phone.Hy.number()
"(70) 203032"
iex> Faker.Phone.Hy.number()
"(733) 76033"