- indexes<TObject, TKeys>(iterable, ...keys): NestedArray<TObject, TObject, TKeys>
Type Parameters
TObject
TKeys extends unknown[]
Parameters
iterable: Iterable<TObject>
Rest
...keys: {
[Index in string | number | symbol]: ((value, index, values) => TKeys[Index])
}
Returns NestedArray<TObject, TObject, TKeys>
Equivalent to index, but returns nested arrays instead of nested maps.