Options
All
  • Public
  • Public/Protected
  • All
Menu

Module pipe

Callable

  • pipe<T>(value: T): Pipe<T>
  • Pipe a value through a series of transformers.

    Type parameters

    • T

    Parameters

    • value: T

      The value to send through the pipeline.

    Returns Pipe<T>

    An object with a .value method for getting the transformed value, and a .thru method for piping the value through another transformer.

Index

Variables

Variables

Const thru

thru: piper = piper

Create a series of transformers to pipe a value through.

param

A function that transforms the value.

returns

run - Takes a value and runs it through the pipeline. Also has a .thru method for adding another function to the pipeline.

Generated using TypeDoc