source: node_modules/es-toolkit/dist/compat/array/without.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: 311 bytes
RevLine 
[a762898]1import { without as without$1 } from '../../array/without.mjs';
2import { isArrayLikeObject } from '../predicate/isArrayLikeObject.mjs';
3
4function without(array, ...values) {
5 if (!isArrayLikeObject(array)) {
6 return [];
7 }
8 return without$1(Array.from(array), ...values);
9}
10
11export { without };
Note: See TracBrowser for help on using the repository browser.