This repository has been archived on 2025-12-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
FunctionProject/scripts/functions/fonctions_annexes/isEmptyValue_Function.js

13 lines
313 B
JavaScript

/**
* @function isEmptyValue
* @description Vérifie si une valeur est vide.
* @param {string} value
* @returns {boolean}
* @example isEmptyValue(null) → true
*/
function isEmptyValue(value) {
return value === '' || value === null || value === undefined;
}
/* Exports */
export { isEmptyValue };