initial commit - far from runnable
This commit is contained in:
commit
db057ce342
8614 changed files with 1032171 additions and 0 deletions
9
node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js
generated
vendored
Normal file
9
node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js
generated
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue