Faker.Pokemon (Faker v0.16.0) View Source

Function for generating Pokemon

Link to this section Summary

Functions

Returns a random Pokemon location

Returns a random Pokemon name

Link to this section Functions

Specs

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"

Specs

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"