node/rxjs/dist/esm/internal/observable/partition.js
raw| 1 | import { not } from '../util/not'; |
| 2 | import { filter } from '../operators/filter'; |
| 3 | import { innerFrom } from './innerFrom'; |
| 4 | export function partition(source, predicate, thisArg) { |
| 5 | return [filter(predicate, thisArg)(innerFrom(source)), filter(not(predicate, thisArg))(innerFrom(source))]; |
| 6 | } |
| 7 | //# sourceMappingURL=partition.js.map |