@ou-imdt/utils
Version:
Utility library for interactive media development
9 lines • 334 B
JavaScript
/**
* Checks if the first value is greater 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 greater than or equal to the second.
*/
export default function isGreaterOrEqual(first, second) {
return first >= second;
}