Skip to content

Commit 412d1de

Browse files
committed
remove: remove anyInBy from namespace
This commit removes the `anyInBy` symbol from the `@stdlib/utils` namespace due to a package migration. BREAKING CHANGE: remove `anyInBy` To migrate, users should access the same symbol via the `@stdlib/object` namespace. Ref: stdlib-js#6756 Signed-off-by: Athan <[email protected]>
1 parent c04a8bc commit 412d1de

File tree

1 file changed

+0
-33
lines changed
  • lib/node_modules/@stdlib/utils/docs/types

1 file changed

+0
-33
lines changed

lib/node_modules/@stdlib/utils/docs/types/index.d.ts

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import any = require( '@stdlib/utils/any' );
2424
import anyBy = require( '@stdlib/utils/any-by' );
2525
import anyByRight = require( '@stdlib/utils/any-by-right' );
26-
import anyInBy = require( '@stdlib/utils/any-in-by' );
2726
import append = require( '@stdlib/utils/append' );
2827
import argumentFunction = require( '@stdlib/utils/argument-function' );
2928
import async = require( '@stdlib/utils/async' );
@@ -323,38 +322,6 @@ interface Namespace {
323322
*/
324323
anyByRight: typeof anyByRight;
325324

326-
/**
327-
* Tests whether at least one property in an object passes a test implemented by a predicate function.
328-
*
329-
* ## Notes
330-
*
331-
* - The predicate function is provided three arguments:
332-
*
333-
* - `value`: property value
334-
* - `key`: property key
335-
* - `obj`: the input object
336-
*
337-
* - The function immediately returns upon encountering a truthy return value.
338-
*
339-
* - If provided an empty object, the function returns `false`.
340-
*
341-
* @param obj - input object
342-
* @param predicate - test function
343-
* @param thisArg - execution context
344-
* @returns boolean indicating whether at least one property passes a test
345-
*
346-
* @example
347-
* function isNegative( v ) {
348-
* return ( v < 0 );
349-
* }
350-
*
351-
* var obj = { 'a': 1, 'b': -2, 'c': 3 };
352-
*
353-
* var bool = ns.anyInBy( obj, isNegative );
354-
* // returns true
355-
*/
356-
anyInBy: typeof anyInBy;
357-
358325
/**
359326
* Adds elements from one collection to the end of another collection.
360327
*

0 commit comments

Comments
 (0)