validations-br
Version:
A validator to BR informations
12 lines • 520 B
TypeScript
//#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 };