.
This commit is contained in:
8
node_modules/rxjs/dist/esm5/internal/operators/partition.js
generated
vendored
Normal file
8
node_modules/rxjs/dist/esm5/internal/operators/partition.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { not } from '../util/not';
|
||||
import { filter } from './filter';
|
||||
export function partition(predicate, thisArg) {
|
||||
return function (source) {
|
||||
return [filter(predicate, thisArg)(source), filter(not(predicate, thisArg))(source)];
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=partition.js.map
|
||||
Reference in New Issue
Block a user