import { map } from "https://deno.land/x/fun@v2.0.0/array.ts";
Applicable the function fai: (A, index) => I to every element in the array ua.
Examples
Example 1
Example 1
import * as A from "./array.ts";
import { pipe } from "./fn.ts";
const result = pipe(
A.array("Hello", "World"),
A.map(s => s.length),
); // [5, 5]