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

x/dnx/WeakSetConstructor/methods/from.ts>default

Fluent modular JavaScript utility library.
Latest
function default
import { default } from "https://deno.land/x/dnx@0.0.5/WeakSetConstructor/methods/from.ts";

Type Parameters

T extends object

Parameters

source: Iterable<T> | ArrayLike<T>

Returns

WeakSet<T>

Type Parameters

T
U extends object

Parameters

source: Iterable<T> | ArrayLike<T>
mapFn: (v: T, k: number) => U
optional
thisArg: unknown

Returns

WeakSet<U>