source: node_modules/es-toolkit/dist/compat/array/zip.mjs@ a762898

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

Added visualizations

  • Property mode set to 100644
File size: 292 bytes
Line 
1import { zip as zip$1 } from '../../array/zip.mjs';
2import { isArrayLikeObject } from '../predicate/isArrayLikeObject.mjs';
3
4function zip(...arrays) {
5 if (!arrays.length) {
6 return [];
7 }
8 return zip$1(...arrays.filter(group => isArrayLikeObject(group)));
9}
10
11export { zip };
Note: See TracBrowser for help on using the repository browser.