UNPKG

@beenotung/tslib

Version:
12 lines 363 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.between = exports.xor = void 0; /* tslint:disable no-bitwise */ function xor(a, b) { return !!((a ? 1 : 0) ^ (b ? 1 : 0)); } exports.xor = xor; /* tslint:enable no-bitwise */ /** inclusive */ exports.between = (a, b, c) => a <= b && b <= c; //# sourceMappingURL=logic.js.map