Fixtures v0.0.2 Fixtures.Names View Source

Name generation.

Link to this section Summary

Functions

A random first name.

A random honorific.

A random name including first and surname.

A random name including first and surname.

A random surname.

A random username.

Link to this section Functions

Link to this function

first_name(opts \\ [])

View Source
first_name(Keyword.t()) :: String.t()

A random first name.

Possible to pass either :female or :male as :sex to limit names to those commonly associated with either sex.

Link to this function

first_name(settings, key, opts \\ [])

View Source
first_name(Keyword.t(), atom(), Keyword.t()) :: String.t()

A random first name.

Possible to pass either :female or :male as :sex to limit names to those commonly associated with either sex.

Link to this function

honorific(opts \\ [])

View Source
honorific(Keyword.t()) :: String.t()

A random honorific.

Link to this function

honorific(settings, key, opts \\ [])

View Source
honorific(Keyword.t(), atom(), Keyword.t()) :: String.t()

A random honorific.

A random name including first and surname.

Possible to pass either :female or :male as :sex to limit names to those commonly associated with either sex.

Link to this function

name(settings, key, opts \\ [])

View Source
name(Keyword.t(), atom(), Keyword.t()) :: String.t()

A random name including first and surname.

Possible to pass either :female or :male as :sex to limit names to those commonly associated with either sex.

Link to this function

surname(opts \\ [])

View Source
surname(Keyword.t()) :: String.t()

A random surname.

Link to this function

surname(settings, key, opts \\ [])

View Source
surname(Keyword.t(), atom(), Keyword.t()) :: String.t()

A random surname.

Link to this function

username(opts \\ [])

View Source
username(Keyword.t()) :: String.t()

A random username.

Link to this function

username(settings, key, opts \\ [])

View Source
username(Keyword.t(), atom(), Keyword.t()) :: String.t()

A random username.