Function dropWhile

  • Discard values from left, while a test passes.

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array

    • ft: TestFunction<T>

      test function (v, i, x)

    Returns T[]

    x[T..] | ft(x[i]) = true ∀ i ∈ [0, T-1] & ft(x[T]) = false

Generated using TypeDoc