EmailChecker.Check.Format (email_checker v0.2.3)
Check if a binary is formatted like an email.
Link to this section Summary
Functions
Check a given emails format
Link to this section Functions
Link to this function
valid?(email)
Specs
Check a given emails format
Parameters
email
-binary
- the email to check
Example
iex> EmailChecker.Check.Format.valid?("test@test.ch")
true
iex> EmailChecker.Check.Format.valid?("something")
false