isEmail function

dynamic isEmail (String val)

Implementation

isEmail(String val) {
  try { Validate.isEmail(val); } catch (ArgumentError) {
    return false;
  }

  return true;
}