Xema.Format.is-question-mark
You're seeing just the function
is-question-mark
, go back to Xema.Format module for more information.
Specs
Checks if the value matches the given type. The function expected a available
format
and a string
to check. Returns true
for a valid string
, false
otherwise.
Examples
iex> Xema.Format.is?(:email, "foo@bar.net")
true
iex> Xema.Format.is?(:email, "foo.bar.net")
false