source: trip-planner-front/node_modules/rxjs/_esm5/internal/operators/partition.js@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 385 bytes
Line 
1/** PURE_IMPORTS_START _util_not,_filter PURE_IMPORTS_END */
2import { not } from '../util/not';
3import { filter } from './filter';
4export function partition(predicate, thisArg) {
5 return function (source) {
6 return [
7 filter(predicate, thisArg)(source),
8 filter(not(predicate, thisArg))(source)
9 ];
10 };
11}
12//# sourceMappingURL=partition.js.map
Note: See TracBrowser for help on using the repository browser.