Skip to main content

talawa-api / Exports / setup/isValidEmail

Module: setup/isValidEmail

Table of contents

Functions

Functions

isValidEmail

isValidEmail(email): boolean

The function isValidEmail checks if a given email address is valid according to a specific pattern.

Parameters

NameTypeDescription
emailstringThe email parameter is a string that represents an email address.

Returns

boolean

a boolean value. It returns true if the email passed as an argument matches the specified pattern, and false otherwise.

Defined in

src/setup/isValidEmail.ts:7