Function filter

  • Keep values which pass a test.

    Type Parameters

    • T

    Parameters

    • x: Set<T>

      a set

    • ft: TestFunction<T>

      test function (v, v, x)

    Returns Set<T>

    {v₀, v₁, ...} | ft(vᵢ) = true; vᵢ ∈ x

Generated using TypeDoc