View Source Faker.Team (Faker v0.19.0-alpha.1)

Functions for generating team related data

Summary

Functions

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

Returns a random creature name

Functions

creature()

@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"

name()

@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"