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

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

All files » cjs/operator/extended/ » max.js
1 2 3 4 5 6 7 8 91 1 21   10013 21   1  
var reduce_support_1 = require('../reduce-support');
function max(comparer) {
    var max = (typeof comparer === 'function')
        ? comparer
        : function (x, y) { return x > y ? x : y; };
    return this.lift(new reduce_support_1.ReduceOperator(max));
}
exports.max = max;
//# sourceMappingURL=max.js.map