View Source Faker.Team (Faker v0.18.0)

Functions for generating team related data

Summary

Functions

Returns a string of the form [state] [creature]

Returns a random creature name

Functions

@spec creature() :: String.t()

Returns a string of the form [state] [creature]

Examples

iex> Faker.Team.creature()
"prophets"
iex> Faker.Team.creature()
"cats"
iex> Faker.Team.creature()
"enchanters"
iex> Faker.Team.creature()
"banshees"
@spec name() :: String.t()

Returns a random creature name

Examples

iex> Faker.Team.name()
"Hawaii cats"
iex> Faker.Team.name()
"Oklahoma banshees"
iex> Faker.Team.name()
"Texas elves"
iex> Faker.Team.name()
"Iowa fishes"