/**
* 常用正则验证
*/
export class ValidatorHelper {
private constructor() {
}
* 是否为手机号
* @param phone
* @returns
public static isPhone(phone: string) {
let regexp: RegExp = new RegExp('^1[0-9]{10}$');
return regexp.test(phone)