This function check if a value exist or not.
message
string (optional, default'Field is required.'
)
Returns Function returns another function which check if the value exists.
This function check if an email is correct or not.
message
string (optional, default'Email is not valid.'
)
Returns Function returns another function which check if email is correct.