Array prototype method for querying properties of objects in an array.