checks whether the typed data complies with the rules of email address writing
value | any | the value to check |
boolean | true, if the value is an email |
rules:{ // component name is used to apply the rule to it
"login":webix.rules.isEmail
}
You can call this function explicitely to perform the related check, as follows:
if(webix.rules.isEmail(value)){
// your logic
}