@ukbhra/common-utils
Version:
A collection of reusable utility functions for string, object, validation, and general operations in Node.js projects.
11 lines • 654 B
TypeScript
export declare const isEmail: (email: string) => boolean;
export declare const isUUID: (uuid: string) => boolean;
export declare const isPhoneNumber: (num: string) => boolean;
export declare const isJsonString: (str: string) => boolean;
export declare const isAlpha: (str: string) => boolean;
export declare const isAlphanumeric: (str: string) => boolean;
export declare const isNumeric: (str: string) => boolean;
export declare const isUrl: (str: string) => boolean;
export declare const isDate: (str: string) => boolean;
export declare const isEmptyOrWhitespace: (str: string | null | undefined) => boolean;
//# sourceMappingURL=validationUtil.d.ts.map