UNPKG

@absmartly/javascript-sdk

Version:

A/B Smartly Javascript SDK

14 lines (13 loc) 400 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GreaterThanOperator = void 0; const binary_1 = require("./binary"); class GreaterThanOperator extends binary_1.BinaryOperator { binary(evaluator, lhs, rhs) { const result = evaluator.compare(lhs, rhs); return result !== null ? result > 0 : null; } } exports.GreaterThanOperator = GreaterThanOperator;