Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/mod.ts>map

Faster and smaller alternative to Ramda
Go to Latest
function map
import { map } from "https://deno.land/x/rambda@9.2.1/mod.ts";

It returns the result of looping through iterable with fn.

It works with both array and object.

Returns

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