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

x/rambda/index.d.ts>map

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

It returns the result of looping through iterable with fn.

It works with both array and object.

Returns

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