Function find

  • Find first value passing a test (default order).

    Type Parameters

    • T

    Parameters

    • x: Set<T>

      a set

    • ft: TestFunction<T>

      test function (v, v, x)

    Returns T

    first v | ft(v) = true; v ∈ x

Generated using TypeDoc