Function regVerify

  • Description

    正则验证手机号、邮箱是否合法

    Returns

    Parameters

    • str: string
    • type: "phone" | "email"

    Returns boolean

Generated using TypeDoc