source: node_modules/es-toolkit/dist/compat/function/rest.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: 281 bytes
Line 
1import { rest as rest$1 } from '../../function/rest.mjs';
2
3function rest(func, start = func.length - 1) {
4 start = Number.parseInt(start, 10);
5 if (Number.isNaN(start) || start < 0) {
6 start = func.length - 1;
7 }
8 return rest$1(func, start);
9}
10
11export { rest };
Note: See TracBrowser for help on using the repository browser.