Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm2015 / internal / observable / partition.js
1 import { not } from '../util/not';
2 import { subscribeTo } from '../util/subscribeTo';
3 import { filter } from '../operators/filter';
4 import { Observable } from '../Observable';
5 export function partition(source, predicate, thisArg) {
6     return [
7         filter(predicate, thisArg)(new Observable(subscribeTo(source))),
8         filter(not(predicate, thisArg))(new Observable(subscribeTo(source)))
9     ];
10 }
11 //# sourceMappingURL=partition.js.map