Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/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): boolean

successOn

Generated using TypeDoc