frontend/.pnpm-store/v3/files/b6/f9ba20f227700c6360d4f8952a0fcbce76d566d94ffafa062546b132fa87fb622630dde93e9da9e4f52e72ea1fbc4bf42f97057ac0c6df07efc4423cc20072

11 lines
441 B
Plaintext

import { not } from '../util/not';
import { subscribeTo } from '../util/subscribeTo';
import { filter } from '../operators/filter';
import { Observable } from '../Observable';
export function partition(source, predicate, thisArg) {
return [
filter(predicate, thisArg)(new Observable(subscribeTo(source))),
filter(not(predicate, thisArg))(new Observable(subscribeTo(source)))
];
}
//# sourceMappingURL=partition.js.map