mihaifm / linq

linq.js - LINQ for JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add toMap

juancri opened this issue · comments

I think the current implementation needs a method toMap(keySelector, valueSelector).

Right now, there is a workaround by using new Map(Object.entries(enumerable.toObject(keySelector, valueSelector))).

Just realized it's a duplicated of #52