View Source Faker.Person.Es (Faker v0.18.0)

Functions for name data in Spanish

Summary

Functions

Returns a random first name

Returns a random last name

Returns a complete name (may include a suffix/prefix or both)

Returns a random prefix

Returns a random suffix

Functions

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

Returns a random first name

Examples

iex> Faker.Person.Es.first_name()
"Jorge"
iex> Faker.Person.Es.first_name()
"Guillermina"
iex> Faker.Person.Es.first_name()
"Daniela"
iex> Faker.Person.Es.first_name()
"Armando"
@spec last_name() :: String.t()

Returns a random last name

Examples

iex> Faker.Person.Es.last_name()
"Raya"
iex> Faker.Person.Es.last_name()
"Cervantes"
iex> Faker.Person.Es.last_name()
"Maya"
iex> Faker.Person.Es.last_name()
"Agosto"
@spec name() :: String.t()

Returns a complete name (may include a suffix/prefix or both)

Examples

iex> Faker.Person.Es.name()
"Sta. Daniela Agosto MD"
iex> Faker.Person.Es.name()
"Alfonso Menéndez"
iex> Faker.Person.Es.name()
"Sr. Francisco Jaimes"
iex> Faker.Person.Es.name()
"Manuel Lucio MD"
@spec prefix() :: String.t()

Returns a random prefix

Examples

iex> Faker.Person.Es.prefix()
"Sr."
iex> Faker.Person.Es.prefix()
"Sta."
iex> Faker.Person.Es.prefix()
"Sr."
iex> Faker.Person.Es.prefix()
"Sta."
@spec suffix() :: String.t()

Returns a random suffix

Examples

iex> Faker.Person.Es.suffix()
"II"
iex> Faker.Person.Es.suffix()
"V"
iex> Faker.Person.Es.suffix()
"V"
iex> Faker.Person.Es.suffix()
"V"