Skip to content

Function: collectMap() ​

collectMap<K, V>(entries?): EnhancedMap<K, V>

Defined in: src/collections.ts:864

Create a new EnhancedMap from an iterable of entries.

Type Parameters ​

K ​

K

V ​

V

Parameters ​

entries? ​

Iterable<[K, V], any, any>

Optional entries to initialize the map

Returns ​

EnhancedMap<K, V>

A new EnhancedMap instance

Documentation of 1.0.13 , built from cf61d3b on 1.0.13 by pipeline #2985011498 on 2026-10-21.