vue3-help
Version:
Vue3 帮助工程
17 lines (16 loc) • 653 B
TypeScript
declare const validator: {
isUrl: (path: string) => boolean;
isPhone: (phone: string) => boolean;
verifyLocalPhone: (localPhone: string) => boolean;
verifyEmail: (email: string) => boolean;
isExternal: (path: string) => boolean;
hasEmoji(value: string): boolean;
isImage: (src: string) => boolean;
isVideo: (src: string) => boolean;
validateRegexUrl: (url: string) => boolean;
isJson(str: any): boolean;
isValidPassword: (str: any) => boolean;
defaultVfField(filed: any): boolean;
vfFiled(value: string, name: string, rule?: Function, showToast?: boolean): string | true;
};
export default validator;