Magik.Validator.validate_format

You're seeing just the function validate_format, go back to Magik.Validator module for more information.
Link to this function

validate_format(value, check)

View Source

Specs

validate_format(String.t(), Regex.t()) :: :ok | {:error, String.t()}

Checks whether an item_name conforms the given format.

Examples

iex> Exop.ValidationChecks.validate_regex(%{a: "bar"}, :a, ~r/bar/) :ok