Function isEmail

  • Checks whether a string is a plausible email address (3–50 chars and a local@domain.tld shape). Intended as a lightweight guard, not full RFC 5322 validation.

    Parameters

    • email: string

      Value to validate.

    Returns boolean

    true when the value looks like a valid email address.

Generated using TypeDoc