Function some

  • Check if any value satisfies a test.

    Type Parameters

    • T

    Parameters

    • x: Set<T>

      a set

    • ft: TestFunction<T> = null

      test function (v, v, x)

    Returns boolean

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

Generated using TypeDoc