I often use Arrays of values from ArrayCollections in my
application in order to facilitate faster performance when
filtering other Collections.
For instance, let's say I have an ArrayCollection of Objects
with the properties "id", "name", "label", and "isActive". What
would be the best way to get an Array of all the "id" values?
Right now, I am looping over the ArrayCollection, and adding
the value of the property I need to an Array using Array.push().
For larger Collections, this seems like overkill. I was wondering
if anyone knew of some quicker way to get an Array of values of one
property from an Array Collection.
My current method for doing this is attached below...