Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Email

Index

Functions

Const roughAssert

  • roughAssert(str: string): asserts str is Email
  • Assert using RFC 5322 email validation

    Not restrictive; see roughValidate
    throws

    {InvalidEmailException} If {@param str} is not a syntactically valid email

    Parameters

    • str: string

    Returns asserts str is Email

Const roughValidate

  • roughValidate(str: string): str is Email