Handy method to create an ES6 Map with a grouping of keys.
https://stackoverflow.com/a/38327540
MapExtensions.GroupBy(cards, card => card.suit);
Array of objects to group
Key to group by. "obj => obj.key"
Generated using TypeDoc
Handy method to create an ES6 Map with a grouping of keys.
https://stackoverflow.com/a/38327540
MapExtensions.GroupBy(cards, card => card.suit);