Skip to content

Commit 028569f

Browse files
committed
Auto-generated commit
1 parent 8442442 commit 028569f

3 files changed

Lines changed: 144 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2026-11-14)
7+
## Unreleased (2026-11-15)
88

99
<section class="features">
1010

1111
### Features
1212

13+
- [`5f6ca63`](https://github.com/stdlib-js/stdlib/commit/5f6ca63fcb8416e343cde48e7dc311afa8f612ab) - update `assert` TypeScript declarations [(#16632)](https://github.com/stdlib-js/stdlib/pull/16632)
1314
- [`0c08e6e`](https://github.com/stdlib-js/stdlib/commit/0c08e6eab79bdd910ee9b09ab4373e5e8f94ce8e) - ensure support for specialized typed arrays
1415
- [`1e68328`](https://github.com/stdlib-js/stdlib/commit/1e68328f214a58a8f1c199c3cc6ea1d5dd32ae1c) - add various symbols to namespace
1516
- [`93d89fb`](https://github.com/stdlib-js/stdlib/commit/93d89fba7da272221fe01dc4d1700b2749a6469a) - add `isNumberOrComplexLike` to namespace
@@ -63,6 +64,8 @@ A total of 9 issues were closed in this release:
6364

6465
<details>
6566

67+
- [`5f6ca63`](https://github.com/stdlib-js/stdlib/commit/5f6ca63fcb8416e343cde48e7dc311afa8f612ab) - **feat:** update `assert` TypeScript declarations [(#16632)](https://github.com/stdlib-js/stdlib/pull/16632) _(by stdlib-bot)_
68+
- [`f91b31b`](https://github.com/stdlib-js/stdlib/commit/f91b31b6f7b190b4929ec93cd691416e5db67db3) - **docs:** update namespace table of contents [(#16635)](https://github.com/stdlib-js/stdlib/pull/16635) _(by stdlib-bot)_
6669
- [`9443206`](https://github.com/stdlib-js/stdlib/commit/9443206383a29c0dc2aaa16830d03d12215f4467) - **docs:** add comment _(by Athan Reines)_
6770
- [`0c08e6e`](https://github.com/stdlib-js/stdlib/commit/0c08e6eab79bdd910ee9b09ab4373e5e8f94ce8e) - **feat:** ensure support for specialized typed arrays _(by Athan Reines)_
6871
- [`1e68328`](https://github.com/stdlib-js/stdlib/commit/1e68328f214a58a8f1c199c3cc6ea1d5dd32ae1c) - **feat:** add various symbols to namespace _(by Athan Reines)_

‎README.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ The namespace also contains utilities to test for numbers within a certain range
175175
- <span class="signature">[`isNonPositiveInteger( value )`][@stdlib/assert/is-nonpositive-integer]</span><span class="delimiter">: </span><span class="description">test if a value is a number having a nonpositive integer value.</span>
176176
- <span class="signature">[`isNonPositiveNumberArray( value )`][@stdlib/assert/is-nonpositive-number-array]</span><span class="delimiter">: </span><span class="description">test if a value is an array-like object containing only nonpositive numbers.</span>
177177
- <span class="signature">[`isNonPositiveNumber( value )`][@stdlib/assert/is-nonpositive-number]</span><span class="delimiter">: </span><span class="description">test if a value is a number having a nonpositive value.</span>
178+
- <span class="signature">[`isNumberOrComplexLike( value )`][@stdlib/assert/is-number-or-complex-like]</span><span class="delimiter">: </span><span class="description">test if a value is a number or complex number-like object.</span>
178179
- <span class="signature">[`isPositiveIntegerArray( value )`][@stdlib/assert/is-positive-integer-array]</span><span class="delimiter">: </span><span class="description">test if a value is an array-like object containing only positive integers.</span>
179180
- <span class="signature">[`isPositiveInteger( value )`][@stdlib/assert/is-positive-integer]</span><span class="delimiter">: </span><span class="description">test if a value is a number having a positive integer value.</span>
180181
- <span class="signature">[`isPositiveNumberArray( value )`][@stdlib/assert/is-positive-number-array]</span><span class="delimiter">: </span><span class="description">test if a value is an array-like object containing only positive numbers.</span>
@@ -296,9 +297,11 @@ The namespace includes utilities for validating other special arrays or buffers:
296297
- <span class="signature">[`isEqualBooleanArray( v1, v2 )`][@stdlib/assert/is-equal-booleanarray]</span><span class="delimiter">: </span><span class="description">test if two arguments are both BooleanArrays and have equal values.</span>
297298
- <span class="signature">[`isEqualInt16Array( v1, v2 )`][@stdlib/assert/is-equal-int16array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Int16Arrays and have equal values.</span>
298299
- <span class="signature">[`isEqualInt32Array( v1, v2 )`][@stdlib/assert/is-equal-int32array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Int32Arrays and have equal values.</span>
300+
- <span class="signature">[`isEqualInt64Array( v1, v2 )`][@stdlib/assert/is-equal-int64array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Int64Arrays and have equal values.</span>
299301
- <span class="signature">[`isEqualInt8Array( v1, v2 )`][@stdlib/assert/is-equal-int8array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Int8Arrays and have equal values.</span>
300302
- <span class="signature">[`isEqualUint16Array( v1, v2 )`][@stdlib/assert/is-equal-uint16array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Uint16Arrays and have equal values.</span>
301303
- <span class="signature">[`isEqualUint32Array( v1, v2 )`][@stdlib/assert/is-equal-uint32array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Uint32Arrays and have equal values.</span>
304+
- <span class="signature">[`isEqualUint64Array( v1, v2 )`][@stdlib/assert/is-equal-uint64array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Uint64Arrays and have equal values.</span>
302305
- <span class="signature">[`isEqualUint8Array( v1, v2 )`][@stdlib/assert/is-equal-uint8array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Uint8Arrays and have equal values.</span>
303306
- <span class="signature">[`isEqualUint8ClampedArray( v1, v2 )`][@stdlib/assert/is-equal-uint8clampedarray]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Uint8ClampedArrays and have equal values.</span>
304307
- <span class="signature">[`isFalsyArray( value )`][@stdlib/assert/is-falsy-array]</span><span class="delimiter">: </span><span class="description">test if a value is an array-like object containing only falsy values.</span>
@@ -315,6 +318,7 @@ The namespace includes utilities for validating other special arrays or buffers:
315318
- <span class="signature">[`isSameArray( v1, v2 )`][@stdlib/assert/is-same-array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both generic arrays and have the same values.</span>
316319
- <span class="signature">[`isSameComplex128Array( v1, v2 )`][@stdlib/assert/is-same-complex128array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Complex128Arrays and have the same values.</span>
317320
- <span class="signature">[`isSameComplex64Array( v1, v2 )`][@stdlib/assert/is-same-complex64array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Complex64Arrays and have the same values.</span>
321+
- <span class="signature">[`isSameFloat16Array( v1, v2 )`][@stdlib/assert/is-same-float16array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Float16Arrays and have the same values.</span>
318322
- <span class="signature">[`isSameFloat32Array( v1, v2 )`][@stdlib/assert/is-same-float32array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Float32Arrays and have the same values.</span>
319323
- <span class="signature">[`isSameFloat64Array( v1, v2 )`][@stdlib/assert/is-same-float64array]</span><span class="delimiter">: </span><span class="description">test if two arguments are both Float64Arrays and have the same values.</span>
320324
- <span class="signature">[`isSameTypedArrayLike( v1, v2 )`][@stdlib/assert/is-same-typed-array-like]</span><span class="delimiter">: </span><span class="description">test if two arguments are both typed-array-like objects and have the same values.</span>
@@ -1132,12 +1136,16 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
11321136

11331137
[@stdlib/assert/is-equal-int32array]: https://github.com/stdlib-js/assert/tree/main/is-equal-int32array
11341138

1139+
[@stdlib/assert/is-equal-int64array]: https://github.com/stdlib-js/assert/tree/main/is-equal-int64array
1140+
11351141
[@stdlib/assert/is-equal-int8array]: https://github.com/stdlib-js/assert/tree/main/is-equal-int8array
11361142

11371143
[@stdlib/assert/is-equal-uint16array]: https://github.com/stdlib-js/assert/tree/main/is-equal-uint16array
11381144

11391145
[@stdlib/assert/is-equal-uint32array]: https://github.com/stdlib-js/assert/tree/main/is-equal-uint32array
11401146

1147+
[@stdlib/assert/is-equal-uint64array]: https://github.com/stdlib-js/assert/tree/main/is-equal-uint64array
1148+
11411149
[@stdlib/assert/is-equal-uint8array]: https://github.com/stdlib-js/assert/tree/main/is-equal-uint8array
11421150

11431151
[@stdlib/assert/is-equal-uint8clampedarray]: https://github.com/stdlib-js/assert/tree/main/is-equal-uint8clampedarray
@@ -1170,6 +1178,8 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
11701178

11711179
[@stdlib/assert/is-same-complex64array]: https://github.com/stdlib-js/assert/tree/main/is-same-complex64array
11721180

1181+
[@stdlib/assert/is-same-float16array]: https://github.com/stdlib-js/assert/tree/main/is-same-float16array
1182+
11731183
[@stdlib/assert/is-same-float32array]: https://github.com/stdlib-js/assert/tree/main/is-same-float32array
11741184

11751185
[@stdlib/assert/is-same-float64array]: https://github.com/stdlib-js/assert/tree/main/is-same-float64array
@@ -1304,6 +1314,8 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
13041314

13051315
[@stdlib/assert/is-nonpositive-number]: https://github.com/stdlib-js/assert/tree/main/is-nonpositive-number
13061316

1317+
[@stdlib/assert/is-number-or-complex-like]: https://github.com/stdlib-js/assert/tree/main/is-number-or-complex-like
1318+
13071319
[@stdlib/assert/is-positive-integer-array]: https://github.com/stdlib-js/assert/tree/main/is-positive-integer-array
13081320

13091321
[@stdlib/assert/is-positive-integer]: https://github.com/stdlib-js/assert/tree/main/is-positive-integer

‎docs/types/index.d.ts‎

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,12 @@ import isEqualDateObject = require( './../../is-equal-date-object' );
172172
import isEqualInt8Array = require( './../../is-equal-int8array' );
173173
import isEqualInt16Array = require( './../../is-equal-int16array' );
174174
import isEqualInt32Array = require( './../../is-equal-int32array' );
175+
import isEqualInt64Array = require( './../../is-equal-int64array' );
175176
import isEqualUint8Array = require( './../../is-equal-uint8array' );
176177
import isEqualUint8ClampedArray = require( './../../is-equal-uint8clampedarray' );
177178
import isEqualUint16Array = require( './../../is-equal-uint16array' );
178179
import isEqualUint32Array = require( './../../is-equal-uint32array' );
180+
import isEqualUint64Array = require( './../../is-equal-uint64array' );
179181
import isError = require( './../../is-error' );
180182
import isEvalError = require( './../../is-eval-error' );
181183
import isEven = require( './../../is-even' );
@@ -260,6 +262,7 @@ import isNull = require( './../../is-null' );
260262
import isNullArray = require( './../../is-null-array' );
261263
import isNumber = require( './../../is-number' );
262264
import isNumberArray = require( './../../is-number-array' );
265+
import isNumberOrComplexLike = require( './../../is-number-or-complex-like' );
263266
import isNumericArray = require( './../../is-numeric-array' );
264267
import isObject = require( './../../is-object' );
265268
import isObjectArray = require( './../../is-object-array' );
@@ -306,6 +309,7 @@ import isSameComplex64 = require( './../../is-same-complex64' );
306309
import isSameComplex64Array = require( './../../is-same-complex64array' );
307310
import isSameComplex128 = require( './../../is-same-complex128' );
308311
import isSameComplex128Array = require( './../../is-same-complex128array' );
312+
import isSameFloat16Array = require( './../../is-same-float16array' );
309313
import isSameFloat32Array = require( './../../is-same-float32array' );
310314
import isSameFloat64Array = require( './../../is-same-float64array' );
311315
import isSameNativeClass = require( './../../is-same-native-class' );
@@ -3568,6 +3572,33 @@ interface Namespace {
35683572
*/
35693573
isEqualInt32Array: typeof isEqualInt32Array;
35703574

3575+
/**
3576+
* Tests if two arguments are both Int64Arrays and have equal values.
3577+
*
3578+
* @param v1 - first input value
3579+
* @param v2 - second input value
3580+
* @returns boolean indicating whether two arguments are equal
3581+
*
3582+
* @example
3583+
* var Int64Array = require( '@stdlib/array/int64' );
3584+
*
3585+
* var x = new Int64Array( [ 1, 2, 3 ] );
3586+
* var y = new Int64Array( [ 1, 2, 3 ] );
3587+
*
3588+
* var out = ns.isEqualInt64Array( x, y );
3589+
* // returns true
3590+
*
3591+
* @example
3592+
* var Int64Array = require( '@stdlib/array/int64' );
3593+
*
3594+
* var x = new Int64Array( [ 1, 2, 3 ] );
3595+
* var y = new Int64Array( [ 1, 2, 4 ] );
3596+
*
3597+
* var out = ns.isEqualInt64Array( x, y );
3598+
* // returns false
3599+
*/
3600+
isEqualInt64Array: typeof isEqualInt64Array;
3601+
35713602
/**
35723603
* Tests if two arguments are both Uint8Arrays and have equal values.
35733604
*
@@ -3676,6 +3707,33 @@ interface Namespace {
36763707
*/
36773708
isEqualUint32Array: typeof isEqualUint32Array;
36783709

3710+
/**
3711+
* Tests if two arguments are both Uint64Arrays and have equal values.
3712+
*
3713+
* @param v1 - first input value
3714+
* @param v2 - second input value
3715+
* @returns boolean indicating whether two arguments are equal
3716+
*
3717+
* @example
3718+
* var Uint64Array = require( '@stdlib/array/uint64' );
3719+
*
3720+
* var x = new Uint64Array( [ 1, 2, 3 ] );
3721+
* var y = new Uint64Array( [ 1, 2, 3 ] );
3722+
*
3723+
* var out = ns.isEqualUint64Array( x, y );
3724+
* // returns true
3725+
*
3726+
* @example
3727+
* var Uint64Array = require( '@stdlib/array/uint64' );
3728+
*
3729+
* var x = new Uint64Array( [ 1, 2, 3 ] );
3730+
* var y = new Uint64Array( [ 1, 2, 4 ] );
3731+
*
3732+
* var out = ns.isEqualUint64Array( x, y );
3733+
* // returns false
3734+
*/
3735+
isEqualUint64Array: typeof isEqualUint64Array;
3736+
36793737
/**
36803738
* Tests if a value is an `Error` object.
36813739
*
@@ -5720,6 +5778,45 @@ interface Namespace {
57205778
*/
57215779
isNumberArray: typeof isNumberArray;
57225780

5781+
/**
5782+
* Tests if a value is a number or complex number-like object.
5783+
*
5784+
* @param value - value to test
5785+
* @returns boolean indicating whether value is a number or complex number-like object
5786+
*
5787+
* @example
5788+
* var bool = ns.isNumberOrComplexLike( 3.14 );
5789+
* // returns true
5790+
*
5791+
* @example
5792+
* var bool = ns.isNumberOrComplexLike( new Number( 3.14 ) );
5793+
* // returns true
5794+
*
5795+
* @example
5796+
* var bool = ns.isNumberOrComplexLike({
5797+
* 're': 3.0,
5798+
* 'im': 5.0
5799+
* });
5800+
* // returns true
5801+
*
5802+
* @example
5803+
* var bool = ns.isNumberOrComplexLike( NaN );
5804+
* // returns true
5805+
*
5806+
* @example
5807+
* var bool = ns.isNumberOrComplexLike( null );
5808+
* // returns false
5809+
*
5810+
* @example
5811+
* var bool = ns.isNumberOrComplexLike.isPrimitive( 3.14 );
5812+
* // returns true
5813+
*
5814+
* @example
5815+
* var bool = ns.isNumberOrComplexLike.isObject( new Number( 3.14 ) );
5816+
* // returns true
5817+
*/
5818+
isNumberOrComplexLike: typeof isNumberOrComplexLike;
5819+
57235820
/**
57245821
* Tests if a value is a numeric array.
57255822
*
@@ -7008,6 +7105,37 @@ interface Namespace {
70087105
*/
70097106
isSameComplex128Array: typeof isSameComplex128Array;
70107107

7108+
/**
7109+
* Tests if two arguments are both Float16Arrays and have the same values.
7110+
*
7111+
* ## Notes
7112+
*
7113+
* - The function differs from the `===` operator in that the function treats `-0` and `+0` as distinct and `NaNs` as the same.
7114+
*
7115+
* @param v1 - first input value
7116+
* @param v2 - second input value
7117+
* @returns boolean indicating whether two arguments are the same
7118+
*
7119+
* @example
7120+
* var Float16Array = require( '@stdlib/array/float16' );
7121+
*
7122+
* var x = new Float16Array( [ 1.0, 2.0, 3.0 ] );
7123+
* var y = new Float16Array( [ 1.0, 2.0, 3.0 ] );
7124+
*
7125+
* var out = ns.isSameFloat16Array( x, y );
7126+
* // returns true
7127+
*
7128+
* @example
7129+
* var Float16Array = require( '@stdlib/array/float16' );
7130+
*
7131+
* var x = new Float16Array( [ 1.0, 2.0, 3.0 ] );
7132+
* var y = new Float16Array( [ 1.0, 2.0, 4.0 ] );
7133+
*
7134+
* var out = ns.isSameFloat16Array( x, y );
7135+
* // returns false
7136+
*/
7137+
isSameFloat16Array: typeof isSameFloat16Array;
7138+
70117139
/**
70127140
* Tests if two arguments are both Float32Arrays and have the same values.
70137141
*

0 commit comments

Comments
 (0)