Extracts an array of values from an array of objects, based on a given key.
an array of values extracted from the objects in the input array
an error if a key is not found in an object
the input array
the key to extract values from objects in the array
Generated using TypeDoc
Extracts an array of values from an array of objects, based on a given key.
Returns
an array of values extracted from the objects in the input array
Throws
an error if a key is not found in an object