source: node_modules/es-toolkit/dist/compat/array/join.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: 217 bytes
Line 
1import { isArrayLike } from '../predicate/isArrayLike.mjs';
2
3function join(array, separator) {
4 if (!isArrayLike(array)) {
5 return '';
6 }
7 return Array.from(array).join(separator);
8}
9
10export { join };
Note: See TracBrowser for help on using the repository browser.