MCPcopy
hub / github.com/lodash/lodash / baseInRange

Function baseInRange

lodash.js:3165–3167  ·  view source on GitHub ↗

* The base implementation of `_.inRange` which doesn't coerce arguments. * * @private * @param {number} number The number to check. * @param {number} start The start of the range. * @param {number} end The end of the range. * @returns {boolean} Returns `true` if `number

(number, start, end)

Source from the content-addressed store, hash-verified

3163 * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
3164 */
3165 function baseInRange(number, start, end) {
3166 return number >= nativeMin(start, end) && number < nativeMax(start, end);
3167 }
3168
3169 /**
3170 * The base implementation of methods like `_.intersection`, without support

Callers 1

inRangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected