Function map

  • Transform values of an object.

    Parameters

    • x: object

      an object

    • fm: MapFunction

      map function (v, k, x)

    Returns object

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

Generated using TypeDoc