Add web front-end and fix API issues
This commit is contained in:
1 parent
45ca4de0ad
commit
a7524412f0
2571 files changed
+86998
-5
No files matched your search
+9
@@ -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
|
||||
Reference in new issue
Block a user