View Source Faker.Airports (Faker v0.18.0)
Functions for generating airports related data
Summary
Functions
@spec iata() :: String.t()
Returns a random IATA
Examples
iex> Faker.Airports.iata()
"BFU"
iex> Faker.Airports.iata()
"FMM"
iex> Faker.Airports.iata()
"YUS"
iex> Faker.Airports.iata()
"YPH"
@spec icao() :: String.t()
Returns a random ICAO
Examples
iex> Faker.Airports.icao()
"SNOS"
iex> Faker.Airports.icao()
"UNBG"
iex> Faker.Airports.icao()
"KLOM"
iex> Faker.Airports.icao()
"HCME"
@spec name() :: String.t()