Function searchRight

  • Find index of last value passing a test.

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array

    • ft: TestFunction<T>

      test function (v, i, x)

    Returns number

    last index of value, -1 if not found

Generated using TypeDoc