Function scanUntilRight

  • Scan from right, until a test passes.

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array

    • ft: TestFunction<T>

      test function (v, i, x)

    Returns number

    first index where test fails till end

Generated using TypeDoc