mini-effect
    Preparing search index...

    Function email

    • Creates an email validation action.

      Hint: This validation action intentionally only validates common email addresses. If you are interested in an action that covers the entire specification, please use the rfcEmail action instead.

      Type Parameters

      • TInput$1 extends string

      Returns EmailAction<TInput$1, undefined>

      An email action.

    • Creates an email validation action.

      Hint: This validation action intentionally only validates common email addresses. If you are interested in an action that covers the entire specification, please use the rfcEmail action instead.

      Type Parameters

      Parameters

      • message: TMessage

        The error message.

      Returns EmailAction<TInput$1, TMessage>

      An email action.