Skip to content

Home > sculp-js > isEmail

isEmail() function

判断字符串是否为邮箱格式,不对邮箱真实性做验证,如域名是否正确等

Signature:

typescript
isEmail: (value: string) => boolean

Parameters

Parameter

Type

Description

value

string

Returns:

boolean

{boolean}

Released under the MIT License.