UNPKG

@adaptabletools/adaptable-cjs

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

8 lines (7 loc) 338 B
/** * Creates a duplicate-free version of an array, using SameValueZero for equality comparisons, * in which only the first occurrence of each element is kept. The order of result values is * determined by the order they occur in the array. * Drop-in replacement for lodash/uniq. */ export default function uniq<T>(array: T[]): T[];