Skip to content

typedoc-vitepress-theme-example / utilities / isValidEmail

isValidEmail()

ts
isValidEmail(email): boolean

Function to check if a value is a valid email address.

Parameters

email: string

The email address to be validated.

Returns

boolean

True if the email address is valid, false otherwise.