Function some

  • Check if any value satisfies a test.

    Parameters

    • x: object

      an object

    • ft: TestFunction = null

      test function (v, k, x)

    Returns boolean

    true if ft(vᵢ) = true for some [kᵢ, vᵢ] ∈ x

Generated using TypeDoc