poker-ts
Version:
Texas Hold 'Em Poker table model with convenience features for running real games.
14 lines • 425 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var ChipRange = /** @class */ (function () {
function ChipRange(min, max) {
this.min = min;
this.max = max;
}
ChipRange.prototype.contains = function (amount) {
return this.min <= amount && amount <= this.max;
};
return ChipRange;
}());
exports.default = ChipRange;
//# sourceMappingURL=chip-range.js.map