Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "takeWhile"

Index

Classes

Functions

Functions

takeWhile

  • Takes all elements of the sequence as long as the given predicate evaluates to true.

    Type parameters

    • T

    Parameters

    • this: Sequence<T>
    • predicate: function
        • (item: T): boolean
        • Parameters

          • item: T

          Returns boolean

    Returns Sequence<T>