mapBy
Map over an array returning the specified property for each entry
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
prop Required | string |
Property to extracct |
|
arr Optional | any | [] |
array of objects |
Returns
any
Function defined in common/src/utils/map-by.ts:6