NET-Web-API-w-Angular/my-app/node_modules/rxjs/dist/esm/internal/observable/partition.js

7 lines
329 B
JavaScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
import { not } from '../util/not';
import { filter } from '../operators/filter';
import { innerFrom } from './innerFrom';
export function partition(source, predicate, thisArg) {
return [filter(predicate, thisArg)(innerFrom(source)), filter(not(predicate, thisArg))(innerFrom(source))];
}
//# sourceMappingURL=partition.js.map