This commit is contained in:
2026-10-19 12:16:49 -04:00
parent d7ecab6494
commit 6d3f470922
10446 changed files with 1626249 additions and 2216 deletions
+9
View File
@@ -0,0 +1,9 @@
import { map } from "../operators/map";
const { isArray } = Array;
function callOrApply(fn, args) {
return isArray(args) ? fn(...args) : fn(args);
}
export function mapOneOrManyArgs(fn) {
return map(args => callOrApply(fn, args));
}
//# sourceMappingURL=mapOneOrManyArgs.js.map