• groups elements of an array into a map using values returned by selector. Intended to work as Linq.GroupBy

    Type Parameters

    • K

    • V

    Parameters

    • array: V[]
    • selector: ((o: V) => K)
        • (o: V): K
        • Parameters

          • o: V

          Returns K

    Returns Map<K, V[]>

Generated using TypeDoc