View Source Faker.Pokemon (Faker v0.18.0)

Function for generating Pokemon

Summary

Functions

Returns a random Pokemon location

Returns a random Pokemon name

Functions

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

Returns a random Pokemon location

Examples

iex> Faker.Pokemon.location()
"Vaniville Town"
iex> Faker.Pokemon.location()
"Slateport City"
iex> Faker.Pokemon.location()
"Shalour City"
iex> Faker.Pokemon.location()
"Solaceon Town"
@spec name() :: String.t()

Returns a random Pokemon name

Examples

iex> Faker.Pokemon.name()
"Fraxure"
iex> Faker.Pokemon.name()
"Shellos"
iex> Faker.Pokemon.name()
"Ambipom"
iex> Faker.Pokemon.name()
"Forretress"