Skip to content

@miyue-mma/shared / isSimplePassword

函数: isSimplePassword()

ts
function isSimplePassword(str): boolean

校验简单密码, 密码长度为6-20位, 必须包含数字和字母

参数

str

string

返回

boolean

Released under the MIT License.