You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param options.returns - if `values`, values are returned; if `keys`, keys are returned; if `*`, both keys and values are returned (default: 'values')
130
+
* @param options.returns - if `'values'`, values are returned; if `'indices'`, indices are returned; if `'*'`, both indices and values are returned (default: 'values')
128
131
* @param indicator - indicator function indicating which group an element in the input object belongs to
* Groups an object's own property values according to an indicator function.
158
+
*
159
+
* ## Notes
160
+
*
161
+
* - When invoked, the indicator function is provided two arguments:
162
+
*
163
+
* - `value`: object value
164
+
* - `key`: object key
165
+
*
166
+
* - The value returned by an indicator function should be a value which can be serialized as an object key.
167
+
*
168
+
* - If provided an empty object, the function returns an empty object.
169
+
*
170
+
* - The function iterates over an object's own properties.
171
+
*
172
+
* - Key iteration order is **not** guaranteed, and, thus, result order is **not** guaranteed.
173
+
*
174
+
* @param obj - input object
175
+
* @param options - function options
176
+
* @param options.thisArg - execution context
177
+
* @param options.returns - if `'values'`, values are returned; if `'indices'`, indices are returned; if `'*'`, both indices and values are returned (default: 'values')
178
+
* @param indicator - indicator function indicating which group an element in the input object belongs to
* Groups an object's own property values according to an indicator function.
205
+
*
206
+
* ## Notes
207
+
*
208
+
* - When invoked, the indicator function is provided two arguments:
209
+
*
210
+
* - `value`: object value
211
+
* - `key`: object key
212
+
*
213
+
* - The value returned by an indicator function should be a value which can be serialized as an object key.
214
+
*
215
+
* - If provided an empty object, the function returns an empty object.
216
+
*
217
+
* - The function iterates over an object's own properties.
218
+
*
219
+
* - Key iteration order is **not** guaranteed, and, thus, result order is **not** guaranteed.
220
+
*
221
+
* @param obj - input object
222
+
* @param options - function options
223
+
* @param options.thisArg - execution context
224
+
* @param options.returns - if `'values'`, values are returned; if `'indices'`, indices are returned; if `'*'`, both indices and values are returned (default: 'values')
225
+
* @param indicator - indicator function indicating which group an element in the input object belongs to
0 commit comments