@datalayer/core
Version:
[](https://datalayer.io)
13 lines (12 loc) • 474 B
TypeScript
export declare const isValidEmail: (value?: string) => boolean;
/**
* Verify if a string has a given length or not.
*/
export declare const validateLength: (value: string | undefined, minLength: number) => boolean;
/**
* Check the password complexity
* @param password Password to validate
* @returns Whether the password various criteria
*/
export declare function isValidPassword(password: string): boolean;
export declare function isValidUrl(url: string): boolean;