Skip to content

Commit e3ff363

Browse files
Neerajpathak07kgryte
authored andcommitted
remove: remove any-own-by from namespace
This commit removes the `any-own-by` symbol from the `@stdlib/utils` namespace due to a package migration. BREAKING CHANGE: remove `any-own-by` To migrate, users should access the same symbol via the `@stdlib/object` namespace. Ref: stdlib-js#6756
1 parent a76b14f commit e3ff363

File tree

2 files changed

+0
-41
lines changed

2 files changed

+0
-41
lines changed

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

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import any = require( '@stdlib/utils/any' );
2424
import anyBy = require( '@stdlib/utils/any-by' );
2525
import anyByRight = require( '@stdlib/utils/any-by-right' );
2626
import anyInBy = require( '@stdlib/utils/any-in-by' );
27-
import anyOwnBy = require( '@stdlib/utils/any-own-by' );
2827
import append = require( '@stdlib/utils/append' );
2928
import argumentFunction = require( '@stdlib/utils/argument-function' );
3029
import async = require( '@stdlib/utils/async' );
@@ -356,37 +355,6 @@ interface Namespace {
356355
*/
357356
anyInBy: typeof anyInBy;
358357

359-
/**
360-
* Tests whether any property of an object passes a test implemented by a predicate function.
361-
*
362-
* ## Notes
363-
*
364-
* - The predicate function is provided three arguments:
365-
*
366-
* - `value`: property value
367-
* - `key`: property key
368-
* - `object`: the input object
369-
*
370-
* - The function immediately returns upon encountering a truthy return value.
371-
* - If provided an empty object, the function returns `false`.
372-
*
373-
* @param object - input object
374-
* @param predicate - test function
375-
* @param thisArg - execution context
376-
* @returns boolean indicating whether any own property pass a test
377-
*
378-
* @example
379-
* function isPositive( v ) {
380-
* return ( v > 0 );
381-
* }
382-
*
383-
* var obj = { 'a': -1, 'b': 2, 'c': -3 };
384-
*
385-
* var bool = ns.anyOwnBy( obj, isPositive );
386-
* // returns true
387-
*/
388-
anyOwnBy: typeof anyOwnBy;
389-
390358
/**
391359
* Adds elements from one collection to the end of another collection.
392360
*

lib/node_modules/@stdlib/utils/lib/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,6 @@ setReadOnly( utils, 'anyBy', require( '@stdlib/utils/any-by' ) );
6767
*/
6868
setReadOnly( utils, 'anyByRight', require( '@stdlib/utils/any-by-right' ) );
6969

70-
/**
71-
* @name anyOwnBy
72-
* @memberof utils
73-
* @readonly
74-
* @type {Function}
75-
* @see {@link module:@stdlib/utils/any-own-by}
76-
*/
77-
setReadOnly( utils, 'anyOwnBy', require( '@stdlib/utils/any-own-by' ) );
78-
7970
/**
8071
* @name append
8172
* @memberof utils

0 commit comments

Comments
 (0)