groupBy(keySelector[, comparer, arg])

Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer.

Syntax

Parameters

keySelector
Type: function(value, key, arg)
A function to extract the key for each element.
comparer
An equality comparer to compare keys.
Return Value

An iteratable object which contains keys and a collection of values.

Last edited May 16, 2012 at 9:13 AM by suckgamoni, version 2

Comments

No comments yet.