CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes45downloads
_baseInRange.js19 linesDownload Raw Back to lodash
1/* Built-in method references for those with the same name as other `lodash` methods. */2var nativeMax = Math.max,3    nativeMin = Math.min;4 5/**6 * The base implementation of `_.inRange` which doesn't coerce arguments.7 *8 * @private9 * @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`.13 */14function baseInRange(number, start, end) {15  return number >= nativeMin(start, end) && number < nativeMax(start, end);16}17 18module.exports = baseInRange;19 
basant307/AI_Governance_Project · CoolFace