Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "transforms/take-while"

Index

Functions

Functions

takeWhile

  • Returns a Transform that emits items from the original observable until f returns false.

    Type parameters

    • T

      Type of items emitted by the observable.

    Parameters

    • f: function

      Function called with each emitted item. If it returns true, the item is emitted. Otherwise the item is discarded and no more items are emitted.

        • (v: T): boolean
        • Parameters

          • v: T

          Returns boolean

    Returns Transform<T>

    Transform that emits some items from the original observable.

Generated using TypeDoc