[RFC]: add @stdlib/array/base/count-same-value
#1325
Labels
Feature
Issue or pull request for adding a new feature.
Good First Issue
A good first issue for new contributors!
RFC
Request for comments. Feature requests and proposed changes.
Description
This RFC proposes adding the package
@stdlib/array/base/count-same-value
.The package should be structured similarly to
@stdlib/array/base/count-truthy
.The package should expose an API having the same signature as
countTruthy
, with the addition of avalue
argument.Internally, the package should use
@stdlib/assert/is-same-value
to test whether an elementx[i]
is equal to a specifiedvalue
.Package:
@stdlib/array/base/count-same-value
Alias:
countSameValue
Related Issues
Related issues #1324.
Questions
No.
Other
No.
Checklist
RFC:
.The text was updated successfully, but these errors were encountered: