You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
540 B

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isBetween = isBetween;
/**
* <zh/> 判断值是否在区间内
*
* <en/> Judge whether the value is in the interval
* @param value - <zh/> 值 | <en/> value
* @param min - <zh/> 最小值 | <en/> minimum value
* @param max - <zh/> 最大值 | <en/> maximum value
* @returns <zh/> 是否在区间内 | <en/> whether in the interval
*/
function isBetween(value, min, max) {
return value >= min && value <= max;
}
//# sourceMappingURL=math.js.map