From 26f84bed75ff4ab0981e22ad1b7f53b87e68f5a7 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Mon, 30 Mar 2026 03:14:16 +0000 Subject: [PATCH] feat: update `array/base` TypeScript declarations Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> --- .../@stdlib/array/base/docs/types/index.d.ts | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/lib/node_modules/@stdlib/array/base/docs/types/index.d.ts b/lib/node_modules/@stdlib/array/base/docs/types/index.d.ts index a863b4ddfedb..dce59c02bd17 100644 --- a/lib/node_modules/@stdlib/array/base/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/array/base/docs/types/index.d.ts @@ -99,6 +99,7 @@ import entries2views = require( '@stdlib/array/base/entries2views' ); import every = require( '@stdlib/array/base/every' ); import everyBy = require( '@stdlib/array/base/every-by' ); import everyByRight = require( '@stdlib/array/base/every-by-right' ); +import falses = require( '@stdlib/array/base/falses' ); import fancySlice = require( '@stdlib/array/base/fancy-slice' ); import fancySliceAssign = require( '@stdlib/array/base/fancy-slice-assign' ); import fill = require( '@stdlib/array/base/fill' ); @@ -235,6 +236,7 @@ import toAccessorArray = require( '@stdlib/array/base/to-accessor-array' ); import toDeduped = require( '@stdlib/array/base/to-deduped' ); import toInsertedAt = require( '@stdlib/array/base/to-inserted-at' ); import toReversed = require( '@stdlib/array/base/to-reversed' ); +import trues = require( '@stdlib/array/base/trues' ); import unary2d = require( '@stdlib/array/base/unary2d' ); import unary2dBy = require( '@stdlib/array/base/unary2d-by' ); import unary3d = require( '@stdlib/array/base/unary3d' ); @@ -2405,6 +2407,18 @@ interface Namespace { */ everyByRight: typeof everyByRight; + /** + * Returns a "generic" array filled with `false` values. + * + * @param len - array length + * @returns output array + * + * @example + * var out = ns.falses( 3 ); + * // returns [ false, false, false ] + */ + falses: typeof falses; + /** * Returns a shallow copy of a portion of an array. * @@ -5713,6 +5727,18 @@ interface Namespace { */ toReversed: typeof toReversed; + /** + * Returns a "generic" array filled with `true` values. + * + * @param len - array length + * @returns output array + * + * @example + * var out = ns.trues( 3 ); + * // returns [ true, true, true ] + */ + trues: typeof trues; + /** * Applies a unary callback to elements in a two-dimensional nested input array and assigns results to elements in a two-dimensional nested output array. *