UNPKG

pure-fun

Version:

A collection of pure functions/helpers with 0 dependencies

7 lines (6 loc) 193 B
/** * Returns only the unique elements in array. * If you want the duplicates use: pure-fun/arrays/duplicates.ts */ declare const unique: (arr: any[]) => any[]; export default unique;