_.pluck added ability to pluck multiple properties #1116

Closed
wants to merge 2 commits into
from

Projects

None yet

2 participants

Added the ability to accept array of properties and return an object with an array for each property.

If the key is a string, do the current emplementation.
If the key is an array of strings, pluck each one and return an object
with array of each property.

Raymond Holland added some commits May 15, 2013
Raymond Holland _.pluck added ability to pluck multiple properties
If the key is a string, do the current emplementation.
If the key is an array of strings, pluck each one and return an object
with array of each property.
7c201c1
Raymond Holland changed pluck name back 04edf1e
Collaborator

Mornin' @bravadomizzou! Thanks for the patch. This has actually been discussed a few times before and I don't think it's a good fit. Please see #1113, #1104, #48, #469, #1070 for details.

@braddunbar braddunbar closed this May 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment