Checks if a string is a valid email address.

  • Parameters

    • value: string

      The string to validate.

    • options: IsEmailOptions = {}

      Options for email validation.

    Returns boolean

    true if the string is a valid email, false otherwise.