Check if the given string is a valid email.
Usage:
const ret = isValidEmail('mazeyqian@gmail.com');console.log(ret); Copy
const ret = isValidEmail('mazeyqian@gmail.com');console.log(ret);
Output:
true Copy
true
Return true if the given string is a valid email.
Check if the given string is a valid email.
Usage:
Output: