Function map

  • Transform values of a set.

    Type Parameters

    • T

    • U = T

    Parameters

    • x: Set<T>

      a set

    • fm: MapFunction<T, T | U>

      map function (v, v, x)

    Returns Set<T | U>

    {fm(v₀), fm(v₁), ...} | vᵢ ∈ x

Generated using TypeDoc