Skip to main content
Module

x/hex/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/mod.ts";
const { mapArray } = fp;

Parameters

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