Skip to main content
Module

x/rambda/index.d.ts>map

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