Skip to content

toMapAsync

Litichevskiy Dmitriy edited this page Jun 21, 2019 · 1 revision

ToMapOptions : Object

Kind: global typedef
Properties

Name Type Default Description
[elementSelector] selector Method for projecting element of the source iterable to element of a group.
[comparer] EqualityComparer DefaultEqualityComparer An EqualityComparer to compare keys.

manipula.toMapAsync(keySelector, [options]) : Promise<HashMap>

Creates a HashMap from an iterable asynchronously.

Kind: instance method of Manipula

Param Type Description
keySelector selector A function to extract a key from each element.
[options] ToMapOptions | selector Convertation settings or HashMap values selector.
Clone this wiki locally