Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dtils/mod.ts>SafeUnknownArray#map

The best unofficial library of utilities for Deno applications
Go to Latest
method SafeUnknownArray.prototype.map
import { SafeUnknownArray } from "https://deno.land/x/dtils@2.5.0/mod.ts";

Calls fn on each item in the array, returning a new array made up of the results of fn

Parameters

fn: (value: SafeUnknown, index: number) => T