Function count

  • Count values which satisfy a test.

    Parameters

    • x: object

      an object

    • ft: TestFunction

      test function (v, k, x)

    Returns number

    Σtᵢ | tᵢ = 1 if ft(vᵢ) else 0; [kᵢ, vᵢ] ∈ x

Generated using TypeDoc