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 `'indices'`, indices are returned; if `'*'`, both indices and values are returned (default: 'values')
2629
+
* @param options.returns - if `'values'`, values are returned; if `'keys'`, keys are returned; if `'*'`, both keys and values are returned (default: 'values')
2562
2630
* @param indicator - indicator function indicating which group an element in the input object belongs to
2563
2631
* @returns group results
2564
2632
*
@@ -3855,12 +3923,12 @@ interface Namespace {
3855
3923
* return prod;
3856
3924
* }
3857
3925
*
3858
-
* var ns.memoized = ns.memoize( factorial );
3926
+
* var memoized = ns.memoize( factorial );
3859
3927
*
3860
-
* var v = ns.memoized( 5 );
3928
+
* var v = memoized( 5 );
3861
3929
* // returns 120
3862
3930
*
3863
-
* v = ns.memoized( 5 );
3931
+
* v = memoized( 5 );
3864
3932
* // returns 120
3865
3933
*/
3866
3934
memoize: typeofmemoize;
@@ -3896,7 +3964,7 @@ interface Namespace {
3896
3964
* 'extend': true
3897
3965
* };
3898
3966
*
3899
-
* var ns.mergefcn = ns.merge.factory( opts );
3967
+
* var mergefcn = ns.merge.factory( opts );
3900
3968
* // returns <Function>
3901
3969
*/
3902
3970
merge: typeofmerge;
@@ -4089,6 +4157,37 @@ interface Namespace {
4089
4157
*/
4090
4158
noneByRight: typeofnoneByRight;
4091
4159
4160
+
/**
4161
+
* Tests whether every property of an object fails a test implemented by a predicate function.
4162
+
*
4163
+
* ## Notes
4164
+
*
4165
+
* - The predicate function is provided three arguments:
4166
+
*
4167
+
* - `value`: property value
4168
+
* - `key`: property key
4169
+
* - `object`: the input object
4170
+
*
4171
+
* - The function immediately returns upon encountering a truthy return value.
4172
+
* - If provided an empty object, the function returns `true`.
4173
+
*
4174
+
* @param object - input object
4175
+
* @param predicate - test function
4176
+
* @param thisArg - execution context
4177
+
* @returns boolean indicating whether every property fails a test
4178
+
*
4179
+
* @example
4180
+
* function isUnderage( v ) {
4181
+
* return ( v < 18 );
4182
+
* }
4183
+
*
4184
+
* var obj = { 'a': 20, 'b': 22, 'c': 25 };
4185
+
*
4186
+
* var bool = ns.noneOwnBy( obj, isUnderage );
4187
+
* // returns true
4188
+
*/
4189
+
noneOwnBy: typeofnoneOwnBy;
4190
+
4092
4191
/**
4093
4192
* Returns an array of an object's own non-enumerable property names and symbols.
4094
4193
*
@@ -4486,6 +4585,8 @@ interface Namespace {
4486
4585
*/
4487
4586
parseJSON: typeofparseJSON;
4488
4587
4588
+
parseNDJSON: typeofparseNDJSON;
4589
+
4489
4590
/**
4490
4591
* Returns a partial object copy containing only specified keys.
4491
4592
*
@@ -5336,6 +5437,38 @@ interface Namespace {
5336
5437
*/
5337
5438
someByRight: typeofsomeByRight;
5338
5439
5440
+
/**
5441
+
* Tests whether an object contains at least `n` own properties which pass a test implemented by a predicate function.
5442
+
*
5443
+
* ## Notes
5444
+
*
5445
+
* - The predicate function is provided three arguments:
5446
+
*
5447
+
* - `value`: object value
5448
+
* - `key`: object key
5449
+
* - `obj`: the input object
5450
+
*
5451
+
* - The function immediately returns upon finding `n` successful properties.
5452
+
*
5453
+
* - If provided an empty object, the function returns `false`.
5454
+
*
5455
+
* @param obj - input object
5456
+
* @param n - number of properties
5457
+
* @param predicate - test function
5458
+
* @returns boolean indicating whether an object contains at least `n` own properties which pass a test
0 commit comments