Skip to content

Commit d69eb54

Browse files
committed
feat: added array/base/count-same-value-zero.
Suggested changes done Fixes #1328
1 parent 218106a commit d69eb54

File tree

1 file changed

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

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
{{alias}}( x, value )
3+
Counts the number of elements that are equal to a given value in an array.
4+
5+
Parameters
6+
----------
7+
x: ArrayLikeObject
8+
Input array.
9+
10+
value: any
11+
Input value.
12+
13+
Returns
14+
-------
15+
out: integer
16+
Number of elements that are equal to the given value.
17+
18+
Examples
19+
--------
20+
> var out = {{alias}}( [ 0, 1, 1 ], 1 )
21+
2
22+
23+
See Also
24+
--------
25+

0 commit comments

Comments
 (0)