Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "indexOfLast"

Index

Functions

Functions

indexOfLast

  • indexOfLast<T>(this: Sequence<T>, predicate: function): number
  • Returns the zero-based index of the last element matching the given predicate or -1 if no element matches the predicate.

    Type parameters

    • T

    Parameters

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

          • value: T

          Returns boolean

    Returns number