Edit this page

up.util up.util.uniqBy(array)
JavaScript function

This feature is experimental. It may be changed or removed in a future version.

This function is like uniq, accept that the given function is invoked for each element to generate the value for which uniquness is computed.

Parameters

array Array
array Function(value): any

Return value

Array