1 /* Built-in method references for those with the same name as other `lodash` methods. */
2 var nativeMax = Math.max,
6 * The base implementation of `_.inRange` which doesn't coerce arguments to numbers.
9 * @param {number} number The number to check.
10 * @param {number} start The start of the range.
11 * @param {number} end The end of the range.
12 * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
14 function baseInRange(number, start, end) {
15 return number >= nativeMin(start, end) && number < nativeMax(start, end);
18 module.exports = baseInRange;