About stdlib...
We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.
The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.
When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.
To join us in bringing numerical computing to the web, get started by checking us out on GitHub, and please consider financially supporting stdlib. We greatly appreciate your continued support!
base
Base (i.e., lower-level) array utilities.
Installation
npm install @stdlib/array-base
Usage
var ns = require( '@stdlib/array-base' );
ns
Array utilities.
var o = ns;
The namespace exports the following:
accessorGetter( dtype )
: return an accessor function for retrieving an element from an array-like object supporting the get/set protocol.
accessorSetter( dtype )
: return an accessor function for setting an element in an array-like object supporting the get/set protocol.
AccessorArray( arr )
: create a minimal array-like object supporting the accessor protocol from another array-like object.
accessors( x )
: return element accessors for a provided array-like object.
anyByRight( x, predicate[, thisArg] )
: test whether at least one element in an array passes a test implemented by a predicate function, while iterating from right to left.
anyBy( x, predicate[, thisArg] )
: test whether at least one element in an array passes a test implemented by a predicate function.
any( x )
: test whether at least one element in an array is truthy.
arraylike2object( x )
: convert an array-like object to an object likely to have the same "shape".
assert
: base array assertion utilities.
at( x, index )
: return an element from an array.
at2d( x, i0, i1 )
: return an element from a two-dimensional nested array.
at3d( x, i0, i1, i2 )
: return an element from a three-dimensional nested array.
at4d( x, i0, i1, i2, i3 )
: return an element from a four-dimensional nested array.
at5d( x, i0, i1, i2, i3, i4 )
: return an element from a five-dimensional nested array.
atnd( x, i0[, ...indices] )
: return an element from an n-dimensional nested array.
bifurcateEntriesBy( x, predicate[, thisArg] )
: split element entries into two groups according to a predicate function.
bifurcateEntries( x, filter )
: split array element entries into two groups.
bifurcateIndicesBy( x, predicate[, thisArg] )
: split element indices into two groups according to a predicate function.
bifurcateIndices( x, filter )
: split array element indices into two groups.
bifurcateValuesBy( x, predicate[, thisArg] )
: split element values into two groups according to a predicate function.
bifurcateValues( x, filter )
: split array element values into two groups.
binary2d( arrays, shape, fcn )
: apply a binary callback to elements in two two-dimensional nested input arrays and assign results to elements in a two-dimensional nested output array.
binary3d( arrays, shape, fcn )
: apply a binary callback to elements in two three-dimensional nested input arrays and assign results to elements in a three-dimensional nested output array.
binary4d( arrays, shape, fcn )
: apply a binary callback to elements in two four-dimensional nested input arrays and assign results to elements in a four-dimensional nested output array.
binary5d( arrays, shape, fcn )
: apply a binary callback to elements in two five-dimensional nested input arrays and assign results to elements in a five-dimensional nested output array.
binarynd( arrays, shape, fcn )
: apply a binary callback to elements in two n-dimensional nested input arrays and assign results to elements in an n-dimensional nested output array.
broadcastArray( x, inShape, outShape )
: broadcast an array to a specified shape.
bbinary2d( arrays, shapes, fcn )
: apply a binary callback to elements in two broadcasted nested input arrays and assign results to elements in a two-dimensional nested output array.
bbinary3d( arrays, shapes, fcn )
: apply a binary callback to elements in two broadcasted nested input arrays and assign results to elements in a three-dimensional nested output array.
bbinary4d( arrays, shapes, fcn )
: apply a binary callback to elements in two broadcasted nested input arrays and assign results to elements in a four-dimensional nested output array.
bbinary5d( arrays, shapes, fcn )
: apply a binary callback to elements in two broadcasted nested input arrays and assign results to elements in a five-dimensional nested output array.
bquaternary2d( arrays, shapes, fcn )
: apply a quaternary callback to elements in four broadcasted nested input arrays and assign results to elements in a two-dimensional nested output array.
bquinary2d( arrays, shapes, fcn )
: apply a quinary callback to elements in four broadcasted nested input arrays and assign results to elements in a two-dimensional nested output array.
bternary2d( arrays, shapes, fcn )
: apply a ternary callback to elements in three broadcasted nested input arrays and assign results to elements in a two-dimensional nested output array.
bunary2d( arrays, shapes, fcn )
: apply a unary callback to elements in a broadcasted nested input array and assign results to elements in a two-dimensional nested output array.
bunary3d( arrays, shapes, fcn )
: apply a unary callback to elements in a broadcasted nested input array and assign results to elements in a three-dimensional nested output array.
bunary4d( arrays, shapes, fcn )
: apply a unary callback to elements in a broadcasted nested input array and assign results to elements in a four-dimensional nested output array.
bunary5d( arrays, shapes, fcn )
: apply a unary callback to elements in a broadcasted nested input array and assign results to elements in a five-dimensional nested output array.
cartesianPower( x, n )
: return the Cartesian power.
cartesianProduct( x1, x2 )
: return the Cartesian product.
cartesianSquare( x )
: return the Cartesian square.
copyIndexed( x )
: copy the elements of an indexed array-like object to a new "generic" array.
copy( x )
: copy the elements of an array-like object to a new "generic" array.
countFalsy( x )
: count the number of falsy elements in an array.
countIf( x, predicate[, thisArg] )
: count the number of elements in an array which pass a test implemented by a predicate function.
countSameValueZero( x, value )
: count the number of elements in an array that are equal to a specified value.
countSameValue( x, value )
: count the number of elements in an array that are equal to a specified value.
countTruthy( x )
: count the number of truthy elements in an array.
cuany( x )
: cumulatively test whether at least one element in a provided array is truthy.
cuevery( x )
: cumulatively test whether every element in a provided array is truthy.
dedupe( x, limit, equalNaNs )
: remove consecutive duplicated values.
everyByRight( x, predicate[, thisArg] )
: test whether all elements in an array pass a test implemented by a predicate function, iterating from right to left.
everyBy( x, predicate[, thisArg] )
: test whether all elements in an array pass a test implemented by a predicate function.
every( x )
: test whether all elements in an array are truthy.
fancySliceAssign( x, y, s, strict )
: assign element values from a broadcasted input array to corresponding elements in an output array.
fancySlice( x, s, strict )
: return a shallow copy of a portion of an array.
filledBy( len, clbk[, thisArg] )
: create a filled "generic" array according to a provided callback function.
filled( value, len )
: create a filled "generic" array.
filled2dBy( shape, clbk[, thisArg] )
: create a filled two-dimensional nested array according to a provided callback function.
filled2d( value, shape )
: create a filled two-dimensional nested array.
filled3dBy( shape, clbk[, thisArg] )
: create a filled three-dimensional nested array according to a provided callback function.
filled3d( value, shape )
: create a filled three-dimensional nested array.
filled4dBy( shape, clbk[, thisArg] )
: create a filled four-dimensional nested array according to a provided callback function.
filled4d( value, shape )
: create a filled four-dimensional nested array.
filled5dBy( shape, clbk[, thisArg] )
: create a filled five-dimensional nested array according to a provided callback function.
filled5d( value, shape )
: create a filled five-dimensional nested array.
filledndBy( shape, clbk[, thisArg] )
: create a filled n-dimensional nested array according to a provided callback function.
fillednd( value, shape )
: create a filled n-dimensional nested array.
filter( x, predicate[, thisArg] )
: return a shallow copy of an array containing only those elements which pass a test implemented by a predicate function.
first( x )
: return the first element of an array-like object.
flattenBy( x, shape, colexicographic, clbk[, thisArg] )
: flatten an n-dimensional nested array according to a callback function.
flatten( x, shape, colexicographic )
: flatten an n-dimensional nested array.
flatten2dBy( x, shape, colexicographic, clbk[, thisArg] )
: flatten a two-dimensional nested array according to a callback function.
flatten2d( x, shape, colexicographic )
: flatten a two-dimensional nested array.
flatten3dBy( x, shape, colexicographic, clbk[, thisArg] )
: flatten a three-dimensional nested array according to a callback function.
flatten3d( x, shape, colexicographic )
: flatten a three-dimensional nested array.
flatten4dBy( x, shape, colexicographic, clbk[, thisArg] )
: flatten a four-dimensional nested array according to a callback function.
flatten4d( x, shape, colexicographic )
: flatten a four-dimensional nested array.
flatten5dBy( x, shape, colexicographic, clbk[, thisArg] )
: flatten a five-dimensional nested array according to a callback function.
flatten5d( x, shape, colexicographic )
: flatten a five-dimensional nested array.
fliplr2d( x )
: reverse the order of elements along the last dimension of a two-dimensional nested input array.
fliplr3d( x )
: reverse the order of elements along the last dimension of a three-dimensional nested input array.
fliplr4d( x )
: reverse the order of elements along the last dimension of a four-dimensional nested input array.
fliplr5d( x )
: reverse the order of elements along the last dimension of a five-dimensional nested input array.
flipud2d( x )
: reverse the order of elements along the first dimension of a two-dimensional nested input array.
flipud3d( x )
: reverse the order of elements along the second-to-last dimension of a three-dimensional nested input array.
flipud4d( x )
: reverse the order of elements along the second-to-last dimension of a four-dimensional nested input array.
flipud5d( x )
: reverse the order of elements along the second-to-last dimension of a five-dimensional nested input array.
strided2array( N, x, stride, offset )
: convert a strided array to a non-strided generic array.
getter( dtype )
: return an accessor function for retrieving an element from an indexed array-like object.
groupEntriesBy( x, indicator[, thisArg] )
: group element entries according to an indicator function.
groupEntries( x, groups )
: group element entries as arrays associated with distinct keys.
groupIndicesBy( x, indicator[, thisArg] )
: group element indices according to an indicator function.
groupIndices( x, groups )
: group element indices as arrays associated with distinct keys.
groupValuesBy( x, indicator[, thisArg] )
: group element values according to an indicator function.
groupValues( x, groups )
: group elements as arrays associated with distinct keys.
incrspace( start, stop, increment )
: generate a linearly spaced numeric array according to a provided increment.
indexOf( x, searchElement, fromIndex, equalNaNs )
: return the index of the first element which equals a provided search element.
join( x, separator )
: return a string created by joining array elements using a specified separator.
lastIndexOf( x, searchElement, fromIndex, equalNaNs )
: return the index of the last element which equals a provided search element.
last( x )
: return the last element of an array-like object.
linspace( start, stop, length )
: generate a linearly spaced numeric array.
logspace( a, b, length )
: generate a logarithmically spaced numeric array.
map2d( x, shape, fcn[, thisArg] )
: apply a function to elements in a two-dimensional nested input array and assign results to elements in a new two-dimensional nested output array.
map3d( x, shape, fcn[, thisArg] )
: apply a function to elements in a three-dimensional nested input array and assign results to elements in a new three-dimensional nested output array.
map4d( x, shape, fcn[, thisArg] )
: apply a function to elements in a four-dimensional nested input array and assign results to elements in a new four-dimensional nested output array.
map5d( x, shape, fcn[, thisArg] )
: apply a function to elements in a five-dimensional nested input array and assign results to elements in a new five-dimensional nested output array.
minSignedIntegerDataType( value )
: determine the minimum array data type for storing a provided signed integer value.
minUnsignedIntegerDataType( value )
: determine the minimum array data type for storing a provided unsigned integer value.
mskbinary2d( arrays, shape, fcn )
: apply a binary callback to elements in two two-dimensional nested input arrays according to elements in a two-dimensional nested mask array and assign results to elements in a two-dimensional nested output array.
mskfilter( x, mask )
: apply a mask to a provided input array.
mskput( x, mask, values, mode )
: replace elements of an array with provided values according to a provided mask array.
mskreject( x, mask )
: apply a mask to a provided input array.
mskunary2d( arrays, shape, fcn )
: apply a unary callback to elements in a two-dimensional nested input array according to elements in a two-dimensional nested mask array and assign results to elements in a two-dimensional nested output array.
mskunary3d( arrays, shape, fcn )
: apply a unary callback to elements in a three-dimensional nested input array according to elements in a three-dimensional nested mask array and assign results to elements in a three-dimensional nested output array.
nCartesianProduct( x1, x2[, ...xN] )
: return the n-fold Cartesian product.
noneByRight( x, predicate[, thisArg] )
: test whether all elements in an array fail a test implemented by a predicate function, iterating from right to left.
noneBy( x, predicate[, thisArg] )
: test whether all elements in an array fail a test implemented by a predicate function.
none( x )
: test whether all elements in an array are falsy.
oneTo( n )
: generate a linearly spaced numeric array whose elements increment by 1 starting from one.
ones( len )
: create a "generic" array filled with ones.
ones2d( shape )
: create a two-dimensional nested array filled with ones.
ones3d( shape )
: create a three-dimensional nested array filled with ones.
ones4d( shape )
: create a four-dimensional nested array filled with ones.
ones5d( shape )
: create a five-dimensional nested array filled with ones.
onesnd( shape )
: create an n-dimensional nested array filled with ones.
place( x, mask, values, mode )
: replace elements of an array with provided values according to a provided mask array.
put( x, indices, values, mode )
: replace specified elements of an array with provided values.
quaternary2d( arrays, shape, fcn )
: apply a quaternary callback to elements in four two-dimensional nested input arrays and assign results to elements in a two-dimensional nested output array.
quaternary3d( arrays, shape, fcn )
: apply a quaternary callback to elements in four three-dimensional nested input arrays and assign results to elements in a three-dimensional nested output array.
quaternary4d( arrays, shape, fcn )
: apply a quaternary callback to elements in four four-dimensional nested input arrays and assign results to elements in a four-dimensional nested output array.
quaternary5d( arrays, shape, fcn )
: apply a quaternary callback to elements in four five-dimensional nested input arrays and assign results to elements in a five-dimensional nested output array.
quinary2d( arrays, shape, fcn )
: apply a quinary callback to elements in five two-dimensional nested input arrays and assign results to elements in a two-dimensional nested output array.
quinary3d( arrays, shape, fcn )
: apply a quinary callback to elements in five three-dimensional nested input arrays and assign results to elements in a three-dimensional nested output array.
quinary4d( arrays, shape, fcn )
: apply a quinary callback to elements in five four-dimensional nested input arrays and assign results to elements in a four-dimensional nested output array.
quinary5d( arrays, shape, fcn )
: apply a quinary callback to elements in five five-dimensional nested input arrays and assign results to elements in a five-dimensional nested output array.
reject( x, predicate[, thisArg] )
: return a shallow copy of an array containing only those elements which fail a test implemented by a predicate function.
resolveGetter( x )
: return an accessor function for retrieving an element from an array-like object.
resolveSetter( x )
: return an accessor function for setting an element in an array-like object.
reverse( x )
: reverse an array in-place.
setter( dtype )
: return an accessor function for setting an element in an indexed array-like object.
slice( x, start, end )
: return a shallow copy of a portion of an array.
strided2array2d( x, shape, strides, offset )
: convert a strided array to a two-dimensional nested array.
strided2array3d( x, shape, strides, offset )
: convert a strided array to a three-dimensional nested array.
strided2array4d( x, shape, strides, offset )
: convert a strided array to a four-dimensional nested array.
strided2array5d( x, shape, strides, offset )
: convert a strided array to a five-dimensional nested array.
takeIndexed( x, indices )
: take elements from an indexed array.
take( x, indices, mode )
: take elements from an array.
take2d( x, indices, dimension, mode )
: take elements from a two-dimensional nested array.
take3d( x, indices, dimension, mode )
: take elements from a three-dimensional nested array.
ternary2d( arrays, shape, fcn )
: apply a ternary callback to elements in three two-dimensional nested input arrays and assign results to elements in a two-dimensional nested output array.
ternary3d( arrays, shape, fcn )
: apply a ternary callback to elements in three three-dimensional nested input arrays and assign results to elements in a three-dimensional nested output array.
ternary4d( arrays, shape, fcn )
: apply a ternary callback to elements in three four-dimensional nested input arrays and assign results to elements in a four-dimensional nested output array.
ternary5d( arrays, shape, fcn )
: apply a ternary callback to elements in three five-dimensional nested input arrays and assign results to elements in a five-dimensional nested output array.
toAccessorArray( arr )
: convert an array-like object to a minimal array-like object supporting the accessor protocol.
toDeduped( x, limit, equalNaNs )
: copy elements to a new "generic" array after removing consecutive duplicated values.
toReversed( x )
: return a new array with elements in reverse order.
unary2dBy( arrays, shape, fcn, clbk[, thisArg] )
: apply a unary function to each element retrieved from a two-dimensional nested input array according to a callback function and assign results to elements in a two-dimensional nested output array.
unary2d( arrays, shape, fcn )
: apply a unary callback to elements in a two-dimensional nested input array and assign results to elements in a two-dimensional nested output array.
unary3d( arrays, shape, fcn )
: apply a unary callback to elements in a three-dimensional nested input array and assign results to elements in a three-dimensional nested output array.
unary4d( arrays, shape, fcn )
: apply a unary callback to elements in a four-dimensional nested input array and assign results to elements in a four-dimensional nested output array.
unary5d( arrays, shape, fcn )
: apply a unary callback to elements in a five-dimensional nested input array and assign results to elements in a five-dimensional nested output array.
unarynd( arrays, shape, fcn )
: apply a unary callback to elements in an n-dimensional nested input array and assign results to elements in an n-dimensional nested output array.
unitspace( start, stop )
: generate a linearly spaced numeric array whose elements increment by 1.
where( condition, x, y )
: take elements from either one of two arrays depending on a condition.
arrayWith( x, index, value )
: return a new array with the element at the specified index replaced with a provided value.
zeroTo( n )
: generate a linearly spaced numeric array whose elements increment by 1 starting from zero.
zeros( len )
: create a zero-filled "generic" array.
zeros2d( shape )
: create a zero-filled two-dimensional nested array.
zeros3d( shape )
: create a zero-filled three-dimensional nested array.
zeros4d( shape )
: create a zero-filled four-dimensional nested array.
zeros5d( shape )
: create a zero-filled five-dimensional nested array.
zerosnd( shape )
: create a zero-filled n-dimensional nested array.
Examples
var objectKeys = require( '@stdlib/utils-keys' );
var ns = require( '@stdlib/array-base' );
console.log( objectKeys( ns ) );
Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.

License
See LICENSE.
Copyright
Copyright © 2016-2024. The Stdlib Authors.
0.3.0 (2024-07-29)
<section class="features">
Features
</section>
<!-- /.features -->
<section class="bug-fixes">
Bug Fixes
d903fc9
- require broadcast compatibility
2769ce9
- require broadcast compatibility
ff8652b
- reassign condition
to ensure proper iteration when a BooleanArray
1093407
- add missing type
310c13c
- address handling of complex arrays, refactor tests, and clean-up
bf08927
- avoid named export of reserved keyword
</section>
<!-- /.bug-fixes -->
<section class="breaking-changes">
BREAKING CHANGES
</section>
<!-- /.breaking-changes -->
<section class="issues">
Closed Issues
A total of 4 issues were closed in this release:
#1324, #1326, #2320, #2321
</section>
<!-- /.issues -->
<section class="commits">
Commits
<details>
ba35d8f
- refactor: update paths (by Athan Reines)
32bbcb3
- refactor: update paths (by Athan Reines)
8d4c46b
- refactor: update paths (by Athan Reines)
ed9c0a5
- refactor: update paths (by Athan Reines)
18b3c79
- refactor: update paths (by Athan Reines)
a78f7d1
- style: add missing spaces (by Philipp Burckhardt)
4708d70
- docs: update namespace table of contents (#2532) (by stdlib-bot, Philipp Burckhardt)
1443ba6
- feat: add array/base/cunone
(#2527) (by Aditya Sapra, Athan Reines)
4059e11
- docs: remove blank line (by Athan Reines)
d1ef4ee
- feat: add boolean dtype support to array/base/count-same-value-zero
(#2474) (by Jaysukh Makvana, Athan Reines)
fd396b3
- feat: add boolean dtype support to array/base/count-same-value
(#2473) (by Jaysukh Makvana, Athan Reines)
b586995
- feat: add boolean dtype support to array/base/mskreject
(#2452) (by Jaysukh Makvana, Athan Reines)
c04e29b
- feat: add boolean dtype support to array/base/mskfilter
(#2450) (by Jaysukh Makvana, Athan Reines)
760979b
- feat: add boolean dtype support to array/base/take
(#2453) (by Jaysukh Makvana, Athan Reines)
c41435f
- feat: add boolean dtype support to array/base/cuany
(#2446) (by Jaysukh Makvana)
3c451db
- feat: add boolean dtype support to array/base/cuevery
(#2447) (by Jaysukh Makvana)
4d54abb
- feat: add boolean dtype support to array/base/none
(#2424) (by Jaysukh Makvana, Athan Reines)
28023eb
- feat: add boolean dtype support to array/base/any
(#2422) (by Jaysukh Makvana)
0c57587
- feat: add boolean dtype support to array/base/every
(#2423) (by Jaysukh Makvana, Athan Reines)
00fd68d
- feat: update namespace TypeScript declarations (#2415) (by stdlib-bot, Athan Reines)
d903fc9
- fix: require broadcast compatibility (by Athan Reines)
2769ce9
- fix: require broadcast compatibility (by Athan Reines)
fdb5d94
- feat: add support for additional modes (by Athan Reines)
96f430f
- test: fix description and docs (by Athan Reines)
7c3729c
- feat: add support for additional modes (by Athan Reines)
fd71d8a
- feat: add place
to namespace (by Athan Reines)
e8a8a6e
- feat: add array/base/place
(by Athan Reines)
566c39c
- test: fix description (by Athan Reines)
dc29f10
- feat: add "broadcasting" mode to require broadcast compatibility (by Athan Reines)
20cd086
- feat: add mskput
to namespace (by Athan Reines)
e9bf843
- feat: add array/base/mskput
(by Athan Reines)
7879bf0
- docs: fix example (by Athan Reines)
299be6a
- feat: add boolean dtype support to array/base/count-falsy
(by Athan Reines)
09f1e11
- feat: add boolean dtype support to array/base/count-truthy
(by Athan Reines)
ff8652b
- fix: reassign condition
to ensure proper iteration when a BooleanArray (by Athan Reines)
2827035
- feat: add where
to namespace (by Athan Reines)
52e6dc7
- feat: add array/base/where
(by Athan Reines)
1093407
- fix: add missing type (by Athan Reines)
a7947d0
- feat: add boolean dtype support to array/base/assert/has-same-values
(#2404) (by Jaysukh Makvana, Athan Reines)
1c809a5
- docs: add note (by Athan Reines)
0a4b603
- docs: add note (by Athan Reines)
ca3bd75
- test: update description (by Athan Reines)
2d3329c
- docs: fix return type (by Athan Reines)
d626ffa
- feat: update namespace TypeScript declarations (#2394) (by stdlib-bot, Athan Reines)
915d3e7
- docs: fix missing asterisk (by Athan Reines)
6adfd9a
- docs: fix missing asterisk (by Athan Reines)
717af94
- docs: update namespace table of contents (#2389) (by stdlib-bot, Philipp Burckhardt)
79d01c7
- refactor: special case boolean arrays (by Athan Reines)
4fdb218
- feat: add isBooleanArray
to namespace (by Athan Reines)
57347fd
- feat: add isBooleanDataType
to namespace (by Athan Reines)
5fe348d
- feat: add array/base/assert/is-boolean-data-type
(by Athan Reines)
ce7ccf7
- refactor: special case handling of complex number and index arrays (by Athan Reines)
dd9c4bc
- bench: fix array dtypes (by Athan Reines)
cd60396
- bench: fix broadcasting bug (by Athan Reines)
9cd273a
- bench: fix mutation bug (by Athan Reines)
a35f2d1
- bench: fix limits (by Athan Reines)
1cbef01
- docs: fix examples (by Athan Reines)
60fa5ac
- feat: add cuevery
to namespace (by Athan Reines)
0a0ba83
- feat: add cuany
to namespace (by Athan Reines)
dc42597
- feat: add put
to namespace (by Athan Reines)
ce18c49
- feat: add array/base/put
(by Athan Reines)
9445e22
- feat: add array/base/cuevery
(#2380) (#2380) (by Aditya Sapra, Athan Reines)
54413a6
- docs: fix return value (by Athan Reines)
d9ef2aa
- feat: add array/base/cuany
(#2375) (by Aditya Sapra, Athan Reines)
ce961d9
- feat: add array/base/assert/is-booleanarray
(#2357) (by Jaysukh Makvana)
038b199
- docs: update paths (by Athan Reines)
75d4f83
- refactor: update require and include paths (by Athan Reines)
f626b3d
- docs: update related packages sections (#2255) (by stdlib-bot)
9ef09e2
- docs: update related packages sections (#2248) (by stdlib-bot)
23e158b
- feat: add array/base/mskfilter-map
(by Golden Kumar, Athan Reines, Philipp Burckhardt)
ec98887
- docs: update related packages sections (#2241) (by stdlib-bot)
8b7f927
- feat: add array/base/mskreject-map
(by Utkarsh, Philipp Burckhardt)
ef2cd60
- docs: update namespace table of contents (#2147) (by stdlib-bot, Philipp Burckhardt)
25e7a6e
- feat: update namespace TypeScript declarations (#2146) (by stdlib-bot, Philipp Burckhardt)
25cdee2
- test: fix lengths (by Athan Reines)
ba4db18
- bench: fix typo (by Athan Reines)
b54dc66
- feat: add join
to namespace (by Athan Reines)
a7add6a
- refactor: avoid unnecessary concat, fix benchmark, and clean-up (by Athan Reines)
0a6cefd
- feat: add countIf
to namespace (by Athan Reines)
310c13c
- fix: address handling of complex arrays, refactor tests, and clean-up (by Athan Reines)
4b7bda7
- docs: update namespace table of contents (#2137) (by stdlib-bot, Athan Reines)
02c9e03
- feat: update namespace TypeScript declarations (#2136) (by stdlib-bot, Athan Reines)
bf08927
- fix: avoid named export of reserved keyword (by Athan Reines)
9d5379d
- docs: fix description (by Athan Reines)
23aef95
- feat: add with
to namespace (by Athan Reines)
0737d84
- refactor: update implementation, fix TypeScript annotations, and clean-up (by Athan Reines)
6f61ff6
- test: add tests for when fromIndex
exceeds last index (by Athan Reines)
e863555
- docs: update copy (by Athan Reines)
e624c49
- feat: update namespace TypeScript declarations (#1937) (by stdlib-bot)
5c03720
- docs: update namespace table of contents (#1920) (by stdlib-bot, Philipp Burckhardt)
2db41a9
- docs: fix copy (by Athan Reines)
e5717ad
- feat: add countSameValueZero
to namespace (by Athan Reines)
422cebf
- docs: clean-up documentation and examples and rename folder (by Athan Reines)
e3eff9b
- docs: add same value example (by Athan Reines)
e925974
- docs: add notes concerning algorithm (by Athan Reines)
9d7da34
- test: add test case to ensure full test coverage (by Athan Reines)
2548359
- feat: add countSameValue
to namespace (by Athan Reines)
215a6ec
- docs: clean-up examples and descriptions (by Athan Reines)
0bc38ac
- feat: add array/base/take-map
(by Varad Gupta, Philipp Burckhardt)
bb7817f
- feat: add array/base/join
(by Aditya Sapra, Athan Reines, Philipp Burckhardt)
5cfd0a8
- chore: update package meta data (#1462) (by stdlib-bot)
ecd3518
- feat: add array/base/count-if
(#1372) (by Utkarsh, Philipp Burckhardt)
670aeab
- docs: fix require path (by Philipp Burckhardt)
1ed81b7
- feat: add array/base/count-same-value-zero
(#1384) (by Priyanshu Agarwal, Jaysukh Makvana, Philipp Burckhardt)
4253607
- feat: add array/base/with
(#1374) (by Pratik Singh, Philipp Burckhardt)
</details>
</section>
<!-- /.commits -->
<section class="contributors">
Contributors
A total of 9 people contributed to this release. Thank you to the following contributors:
- Aditya Sapra
- Athan Reines
- Golden Kumar
- Jaysukh Makvana
- Philipp Burckhardt
- Pratik Singh
- Priyanshu Agarwal
- Utkarsh
- Varad Gupta
</section>
<!-- /.contributors -->
</section>
<!-- /.release -->
<section class="release" id="v0.2.1">