File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 44
55<section class =" release " id =" unreleased " >
66
7- ## Unreleased (2026-03-30 )
7+ ## Unreleased (2026-03-31 )
88
99<section class =" features " >
1010
1111### Features
1212
13+ - [ ` 889f7b2 ` ] ( https://github.com/stdlib-js/stdlib/commit/889f7b26c0cd56cfe9fd71d160ebcb22a4f3d99f ) - update ` array ` TypeScript declarations [ (#11237 )] ( https://github.com/stdlib-js/stdlib/pull/11237 )
1314- [ ` 1596184 ` ] ( https://github.com/stdlib-js/stdlib/commit/159618429a64de56dbe457f7bb901a117d5e9af2 ) - update ` array/base ` TypeScript declarations [ (#11213 )] ( https://github.com/stdlib-js/stdlib/pull/11213 )
1415- [ ` 33b4e79 ` ] ( https://github.com/stdlib-js/stdlib/commit/33b4e79ad1e9cba8605ed44989d02f9a46b79663 ) - add ` nulls ` to namespace
1516- [ ` 419efe1 ` ] ( https://github.com/stdlib-js/stdlib/commit/419efe14ee9dfc8224b419864f9314614f27786b ) - add ` array/nulls `
@@ -267,6 +268,7 @@ A total of 38 issues were closed in this release:
267268
268269<details >
269270
271+ - [ ` 889f7b2 ` ] ( https://github.com/stdlib-js/stdlib/commit/889f7b26c0cd56cfe9fd71d160ebcb22a4f3d99f ) - ** feat:** update ` array ` TypeScript declarations [ (#11237 )] ( https://github.com/stdlib-js/stdlib/pull/11237 ) _ (by stdlib-bot)_
270272- [ ` 1596184 ` ] ( https://github.com/stdlib-js/stdlib/commit/159618429a64de56dbe457f7bb901a117d5e9af2 ) - ** feat:** update ` array/base ` TypeScript declarations [ (#11213 )] ( https://github.com/stdlib-js/stdlib/pull/11213 ) _ (by stdlib-bot)_
271273- [ ` 5e93594 ` ] ( https://github.com/stdlib-js/stdlib/commit/5e93594dd241e229cc3605b53dfa4290168526fc ) - ** docs:** update namespace table of contents [ (#11214 )] ( https://github.com/stdlib-js/stdlib/pull/11214 ) _ (by stdlib-bot)_
272274- [ ` 33b4e79 ` ] ( https://github.com/stdlib-js/stdlib/commit/33b4e79ad1e9cba8605ed44989d02f9a46b79663 ) - ** feat:** add ` nulls ` to namespace _ (by Athan Reines)_
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ import mskreject = require( './../../mskreject' );
6262import nans = require( './../../nans' ) ;
6363import nansLike = require( './../../nans-like' ) ;
6464import nextDataType = require( './../../next-dtype' ) ;
65+ import nulls = require( './../../nulls' ) ;
6566import oneTo = require( './../../one-to' ) ;
6667import oneToLike = require( './../../one-to-like' ) ;
6768import ones = require( './../../ones' ) ;
@@ -1008,6 +1009,27 @@ interface Namespace {
10081009 */
10091010 nextDataType : typeof nextDataType ;
10101011
1012+ /**
1013+ * Creates an array filled with nulls and having a specified length.
1014+ *
1015+ * The function recognizes the following data types:
1016+ *
1017+ * - `generic`: generic JavaScript values
1018+ *
1019+ * @param length - array length
1020+ * @param dtype - data type (default: 'generic')
1021+ * @returns filled array
1022+ *
1023+ * @example
1024+ * var arr = ns.nulls( 2 );
1025+ * // returns [ null, null ]
1026+ *
1027+ * @example
1028+ * var arr = ns.nulls( 2, 'generic' );
1029+ * // returns [ null, null ]
1030+ */
1031+ nulls : typeof nulls ;
1032+
10111033 /**
10121034 * Generates a linearly spaced numeric array whose elements increment by 1 starting from one.
10131035 *
You can’t perform that action at this time.
0 commit comments