Function map$

  • Transform values of an array!

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array (updated!)

    • fm: MapFunction<T, T>

      map function (v, i, x)

    Returns T[]

    x = [fm(v₀), fm(v₁), ...]; vᵢ ∈ x

Generated using TypeDoc