/** * Filter out duplicate values from an array * * @param arr - ArrayLike or Iterable collection to convert * @typeParam T - The inferred type of the items in the given collection * * @returns A list with only unique items * * @example * ```ts * uniqueArray([1,2,3,1,4,5,3,7]); // --> [1,2,3,4,5,6,7] * uniqueArray(document.querySelectorAll('.my-elm, .selected')); // --> unique array of elements (so .my-elm.selected will only be present once) * ``` */ export declare function uniqueArray(arr: ArrayLike | Iterable): T[]; export default uniqueArray;