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/ary.mjs
T

14 lines
252 B
JavaScript

import { ary as ary$1 } from '../../function/ary.mjs';
function ary(func, n = func.length, guard) {
if (guard) {
n = func.length;
}
if (Number.isNaN(n) || n < 0) {
n = 0;
}
return ary$1(func, n);
}
export { ary };