Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Gated<X>

Function that executes conditionally based on the result of another function.

Type parameters

  • X

Hierarchy

  • Gated

Implements

  • any

Index

Constructors

Methods

Constructors

constructor

Methods

apply

  • apply(input: X): void
  • Apply the function to the input.

    Parameters

    • input: X

      Input.

    Returns void

isFunction

  • isFunction(): true

Generated using TypeDoc