Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "IsEmail"

Index

Type aliases

Functions

Type aliases

IsEmailOptions

IsEmailOptions: vtsIsEmailOptions

Reexport IsEmailOptions

Functions

isEmail

  • isEmail(value: string, options?: vtsIsEmailOptions): boolean
  • Checks if the string is an email. If given value is not a string, then it returns false.

    Parameters

    • value: string

      The value being checked.

    • Optional options: vtsIsEmailOptions

      The options configuration IsEmailOptions

    Returns boolean

    True if the string is an email, false otherwise.

Generated using TypeDoc