AntlPhonenumber.Ecto.Changeset (AntlPhonenumber v0.1.9) View Source

A few validation functions.

Link to this section Summary

Link to this section Functions

Link to this function

validate_iso_country_code(changeset, field, iso_country_code)

View Source

Specs

validate_iso_country_code(Ecto.Changeset.t(), atom(), binary()) ::
  Ecto.Changeset.t()
Link to this function

validate_type(changeset, field, type)

View Source

Specs

validate_type(Ecto.Changeset.t(), atom(), atom() | [atom()]) ::
  Ecto.Changeset.t()