uniqueBy

Function

Return array of unique objects, based on a deep property value Note: Property you compare on should be a primative type

  • uniqueBy(arr: [], prop: string) : []

Parameters

Parameter Type Default Notes
arr Required []
prop Required string

Returns

{T[]}

[]

Function defined in common/src/util.ts:296