Code coverage report for cjs/operators/extended/distinctUntilKeyChanged.js

Statements: 100% (12 / 12)      Branches: 83.33% (5 / 6)      Functions: 100% (3 / 3)      Lines: 100% (11 / 11)      Ignored: none     

All files » cjs/operators/extended/ » distinctUntilKeyChanged.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23    1 1   1   1   1   1 17 39 16   23         1  
'use strict';
 
exports.__esModule = true;
exports['default'] = distinctUntilKeyChanged;
 
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
 
var _distinctUntilChanged = require('../distinctUntilChanged');
 
var _distinctUntilChanged2 = _interopRequireDefault(_distinctUntilChanged);
 
function distinctUntilKeyChanged(key, compare, thisArg) {
    return _distinctUntilChanged2['default'].call(this, function (x, y) {
        if (compare) {
            return compare.call(thisArg, x[key], y[key]);
        }
        return x[key] === y[key];
    });
}
 
//# sourceMappingURL=distinctUntilKeyChanged.js.map
module.exports = exports['default'];
//# sourceMappingURL=distinctUntilKeyChanged.js.map