Function some

  • Examine if any value satisfies a test. 📘

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array

    • Optional ft: TestFunction<T>

      test function (v, i, x)

    Returns boolean

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

Generated using TypeDoc