You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/array/base/count-same-value/README.md
+6-4
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ limitations under the License.
20
20
21
21
# countSameValue
22
22
23
-
> Count the number of elements that are equal to a given value in an array.
23
+
> Count the number of elements in an array that are equal to a specified value.
24
24
25
25
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
26
26
@@ -42,7 +42,7 @@ var countSameValue = require( '@stdlib/array/base/count-same-value' );
42
42
43
43
#### countSameValue( x, value )
44
44
45
-
Counts the number of elements that are equal to a given value in an array.
45
+
Counts the number of elements in an array that are equal to a specified value.
46
46
47
47
```javascript
48
48
var x = [ 0, 1, 0, 1, 2 ];
@@ -72,10 +72,12 @@ var out = countSameValue( x, 1 );
0 commit comments