Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

Const isEmail

  • isEmail(val: string): boolean
  • Checks for a valid email address.

    example

    isEmail('address@example.com'); // true isEmail('address@not email'); // false isEmail(true); // false

    Parameters

    • val: string

      The value to check.

    Returns boolean

    Whether the value is an email address.

Legend

  • Function

Generated using TypeDoc