UNPKG

validations-br

Version:
12 lines 520 B
//#region src/validations/validateEmail.d.ts /** * The function `validateEmail` uses a regular expression to check if a given string is a valid email * address. * @param {string} value - The `value` parameter is a string that represents the email address that * needs to be validated. * @returns The `validateEmail` function returns a boolean value. It returns `true` if the email is * valid, and `false` otherwise. */ declare function validateEmail(value: string): boolean; //#endregion export { validateEmail };