Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "filterIndexed"

Index

Functions

Functions

filterIndexed

  • Returns a new sequence consisting of all elements that match the given predicate.

    Type parameters

    • T

    Parameters

    • this: Sequence<T>
    • predicate: function
        • (index: number, value: T): boolean
        • Parameters

          • index: number
          • value: T

          Returns boolean

    Returns Sequence<T>