@absmartly/javascript-sdk
Version:
A/B Smartly Javascript SDK
14 lines (13 loc) • 388 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.LessThanOperator = void 0;
const binary_1 = require("./binary");
class LessThanOperator extends binary_1.BinaryOperator {
binary(evaluator, lhs, rhs) {
const result = evaluator.compare(lhs, rhs);
return result !== null ? result < 0 : null;
}
}
exports.LessThanOperator = LessThanOperator;
;