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

x/easyts/internal/decorator.ts>ClassForEach#map

js library written with ts, use select and chan like golang in js.
Latest
method ClassForEach.prototype.map
import { ClassForEach } from "https://deno.land/x/easyts@0.1.2/internal/decorator.ts";

Convert container to array

Parameters

callback: MapCallback<T, TO>
optional
reverse: boolean

If true, traverse the container in reverse order

Returns

Array<TO>