Closed
Description
Description
This RFC proposes adding the package @stdlib/array/base/mskreject-map
.
The package should be structured similarly to @stdlib/array/base/mskreject
.
The package should expose an API having the same signature as mskreject
, with the addition of clbk
and thisArg
arguments.
function mskrejectMap( x, mask, clbk[, thisArg ] ) {...}
The callback function should map each selected value specified by mask
to the output value.
In short, this package combines mskreject
and map
into a single API call.
Package: @stdlib/array/base/mskreject-map
Alias: mskrejectMap
Related Issues
Questions
No.
Other
No.
Checklist
- I have read and understood the Code of Conduct.
- Searched for existing issues and pull requests.
- The issue name begins with
RFC:
.
Metadata
Metadata
Assignees
Labels
RFC feature request which has been accepted.Issue or pull request for adding a new feature.A good first issue for new contributors!Issue involves or relates to JavaScript.Request for comments. Feature requests and proposed changes.Issue or pull request concerning general utilities.May require some initial design or R&D, but should be straightforward to resolve and/or implement.Low priority concern or feature request.