diff --git a/lib/node_modules/@stdlib/array/docs/types/index.d.ts b/lib/node_modules/@stdlib/array/docs/types/index.d.ts index cf5545f7d1de..582c8788c674 100644 --- a/lib/node_modules/@stdlib/array/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/array/docs/types/index.d.ts @@ -62,6 +62,7 @@ import mskreject = require( '@stdlib/array/mskreject' ); import nans = require( '@stdlib/array/nans' ); import nansLike = require( '@stdlib/array/nans-like' ); import nextDataType = require( '@stdlib/array/next-dtype' ); +import nulls = require( '@stdlib/array/nulls' ); import oneTo = require( '@stdlib/array/one-to' ); import oneToLike = require( '@stdlib/array/one-to-like' ); import ones = require( '@stdlib/array/ones' ); @@ -1008,6 +1009,27 @@ interface Namespace { */ nextDataType: typeof nextDataType; + /** + * Creates an array filled with nulls and having a specified length. + * + * The function recognizes the following data types: + * + * - `generic`: generic JavaScript values + * + * @param length - array length + * @param dtype - data type (default: 'generic') + * @returns filled array + * + * @example + * var arr = ns.nulls( 2 ); + * // returns [ null, null ] + * + * @example + * var arr = ns.nulls( 2, 'generic' ); + * // returns [ null, null ] + */ + nulls: typeof nulls; + /** * Generates a linearly spaced numeric array whose elements increment by 1 starting from one. *