View Source Cldr.PersonName.Format protocol (Cldr Person Names v0.2.1)

Summary

Types

t()

All the types that implement this protocol.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

to_string(name, options \\ [])

View Source
@spec to_string(
  name :: struct(),
  options :: Cldr.PersonName.Formatter.format_options()
) ::
  {:ok, String.t()} | {:error, Cldr.PersonName.error_message()}
@spec to_string(
  name :: struct(),
  options :: Cldr.PersonName.Formatter.format_options()
) ::
  String.t() | no_return()
Link to this function

to_string!(name, options \\ [])

View Source