# Code coverage report for RxJS/dist/cjs/operators/partition.js

## Statements: 100% (11 / 11) Branches: 75% (3 / 4) Functions: 100% (2 / 2) Lines: 100% (10 / 10) Ignored: none

All files » RxJS/dist/cjs/operators/ » partition.js

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20

    1
    1

    2

    1

    1

    1

    1

    1
    13

    1'use strict';

    exports.__esModule = true;
    exports['default'] = partition;

    function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

    var _utilNot = require('../util/not');

    var _utilNot2 = _interopRequireDefault(_utilNot);

    var _filter = require('./filter');

    var _filter2 = _interopRequireDefault(_filter);

    function partition(predicate, thisArg) {
        return [_filter2['default'].call(this, predicate), _filter2['default'].call(this, _utilNot2['default'](predicate, thisArg))];
    }

    module.exports = exports['default'];