source: node_modules/es-toolkit/dist/compat/array/uniq.mjs

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 247 bytes
Line 
1import { uniq as uniq$1 } from '../../array/uniq.mjs';
2import { isArrayLike } from '../predicate/isArrayLike.mjs';
3
4function uniq(arr) {
5 if (!isArrayLike(arr)) {
6 return [];
7 }
8 return uniq$1(Array.from(arr));
9}
10
11export { uniq };
Note: See TracBrowser for help on using the repository browser.