Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "action/ActionResult"

Index

Functions

failureOn

  • Helper to create a failed ActionResult object.

    Type parameters

    • T

    Parameters

    • t: T

      Target for action

    • err: Error

      Error that occurred.

    • Optional f: any

      Function that failed, should have a name property.

    Returns ActionResult<T>

    with success: true

isActionResult

  • isActionResult(a: any): a is ActionResult

successOn

Generated using TypeDoc