Skip to content

Commit 2fe3ab6

Browse files
committed
feat: added array/base/count-same-value-zero.
1 parent 138967b commit 2fe3ab6

File tree

1 file changed

+3
-0
lines changed
  • lib/node_modules/@stdlib/array/base/count-same-value-zero/lib

1 file changed

+3
-0
lines changed

lib/node_modules/@stdlib/array/base/count-same-value-zero/lib/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ function complex( x, value ) {
144144
* @returns {NonNegativeInteger} number of elements that are equal to the given value
145145
*
146146
* @example
147+
*
148+
* var countSameValueZero = require( '@stdlib/array/base/is-same-value-zero' );
149+
*
147150
* var x = [ 0, 0, 1, 0, 1 ];
148151
*
149152
* var n = countSameValueZero( x, 1 );

0 commit comments

Comments
 (0)