-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
stdlib-js/stdlib
#5376Labels
FeatureTask to add a new feature.Task to add a new feature.difficulty: 1Low degree of difficulty. Should be straightforward to implement and/or resolve.Low degree of difficulty. Should be straightforward to implement and/or resolve.estimate: 2-4hrsTask which should take between 2 to 4 hours.Task which should take between 2 to 4 hours.
Description
This is similar to utils/pluck
; however, we want to elide input argument validation, add support accessor arrays, and add support for an assign
API.
Signature:
pluck( x, prop )
pluck.assign( x, prop, out, stride, offset )
Example usage:
var x = [
{
'a': 1
},
{
'a': 2
},
{
'a': 3
}
];
var y = pluck( x, 'a' );
// returns [ 1, 2, 3 ]
Time estimate without AI: 3hrs
Time estimate with AI: 1-2hrs
Metadata
Metadata
Assignees
Labels
FeatureTask to add a new feature.Task to add a new feature.difficulty: 1Low degree of difficulty. Should be straightforward to implement and/or resolve.Low degree of difficulty. Should be straightforward to implement and/or resolve.estimate: 2-4hrsTask which should take between 2 to 4 hours.Task which should take between 2 to 4 hours.