agentsqripts
Version:
Comprehensive static code analysis toolkit for identifying technical debt, security vulnerabilities, performance issues, and code quality problems
16 lines (14 loc) • 418 B
JavaScript
/**
* @file Check if a value exceeds threshold
* @description Single responsibility: Compare value against threshold
*/
/**
* Check if a value exceeds threshold
* @param {number} value - Value to check
* @param {number} threshold - Threshold value
* @returns {boolean} True if exceeds threshold
*/
function exceedsThreshold(value, threshold) {
return value > threshold;
}
module.exports = exceedsThreshold;