public static Validation < String > isEmail ( String msg ) { return notEmpty ( ) . and ( SimpleValidation . from ( PatternKit :: isEmail , msg ) ) ; }
Determine if the input parameter is a Email . if yes the check passes .