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

Statements: 100% (7 / 7)      Branches: 100% (2 / 2)      Functions: 100% (2 / 2)      Lines: 100% (7 / 7)      Ignored: none     

All files » cjs/operator/extended/ » distinctUntilKeyChanged.js
1 2 3 4 5 6 7 8 9 10 111 1 17 39 16   23     1  
var distinctUntilChanged_1 = require('../distinctUntilChanged');
function distinctUntilKeyChanged(key, compare, thisArg) {
    return distinctUntilChanged_1.distinctUntilChanged.call(this, function (x, y) {
        if (compare) {
            return compare.call(thisArg, x[key], y[key]);
        }
        return x[key] === y[key];
    });
}
exports.distinctUntilKeyChanged = distinctUntilKeyChanged;
//# sourceMappingURL=distinctUntilKeyChanged.js.map