mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-16 15:23:47 -05:00
chore(package): re-init package with commitizen and standard-release
This commit is contained in:
18
node_modules/rxjs/_esm2015/util/pipe.js
generated
vendored
Normal file
18
node_modules/rxjs/_esm2015/util/pipe.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import { noop } from './noop';
|
||||
/* tslint:enable:max-line-length */
|
||||
export function pipe(...fns) {
|
||||
return pipeFromArray(fns);
|
||||
}
|
||||
/* @internal */
|
||||
export function pipeFromArray(fns) {
|
||||
if (!fns) {
|
||||
return noop;
|
||||
}
|
||||
if (fns.length === 1) {
|
||||
return fns[0];
|
||||
}
|
||||
return function piped(input) {
|
||||
return fns.reduce((prev, fn) => fn(prev), input);
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=pipe.js.map
|
||||
Reference in New Issue
Block a user