Module

x/rambda/rambda.js>map

Faster and smaller alternative to Ramda
Go to Latest
function map
import { map } from "https://dotland.deno.dev/x/rambda@v9.2.0/rambda.js";

It returns the result of looping through iterable with fn.

It works with both array and object.

Returns

(iterable: T[]) => U[]