This repository has been archived on 2026-03-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
StasisWarden-Legacy/node_modules/es-toolkit/dist/compat/function/rest.mjs
T

12 lines
281 B
JavaScript

import { rest as rest$1 } from '../../function/rest.mjs';
function rest(func, start = func.length - 1) {
start = Number.parseInt(start, 10);
if (Number.isNaN(start) || start < 0) {
start = func.length - 1;
}
return rest$1(func, start);
}
export { rest };