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

x/hex/src/mod.ts>fp.mapArray

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function fp.mapArray
import { fp } from "https://deno.land/x/hex@0.5.15/src/mod.ts";
const { mapArray } = fp;

Parameters

instance: Iterable<T1>
predicate: (
value: T1,
index: number,
instance: Iterable<T1>,
) => T2