Skip to main content
Module

x/rambda/rambda.js>map

Faster and smaller alternative to Ramda
Latest
function map
import { map } from "https://deno.land/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[]