Appearance
Home > sculp-js > isPhone
判断字符串是否为宽松手机格式,即首位为 1 的 11 位数字都属于手机号
Signature:
isPhone: (value: string) => boolean
Parameter
Type
Description
value
string
Returns:
boolean
{boolean}