UNPKG

util-helpers

Version:

一个基于业务场景的工具方法库

16 lines (15 loc) 327 B
/** * 检测值是否为QQ号,非0开头,5至11位数字 * * @alias module:Validator.isQQ * @since 1.1.0 * @param {*} value 要检测的值 * @returns {boolean} 值是否为QQ号 * @example * * isQQ('12345'); // true * isQQ('123'); // false * */ declare function isQQ(value: any): boolean; export default isQQ;