@ou-imdt/utils
Version:
Utility library for interactive media development
9 lines • 325 B
JavaScript
/**
* Checks if the first value is less than or equal to the second value.
* @param {*} first - The first value.
* @param {*} second - The second value.
* @returns {boolean} True if the first value is less than or equal to the second.
*/
export default function isLessOrEqual(first, second) {
return first <= second;
}