Function some

  • Examine if any value satisfies a test.

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array

    • ft: TestFunction<T> = null

      test function (v, i, x)

    Returns boolean

    true if ft(vᵢ) = true for some vᵢ ∈ x

Generated using TypeDoc