CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes45downloads
isNil.js26 linesDownload Raw Back to lodash-es
1/**2 * Checks if `value` is `null` or `undefined`.3 *4 * @static5 * @memberOf _6 * @since 4.0.07 * @category Lang8 * @param {*} value The value to check.9 * @returns {boolean} Returns `true` if `value` is nullish, else `false`.10 * @example11 *12 * _.isNil(null);13 * // => true14 *15 * _.isNil(void 0);16 * // => true17 *18 * _.isNil(NaN);19 * // => false20 */21function isNil(value) {22  return value == null;23}24 25export default isNil;26 
basant307/AI_Governance_Project · CoolFace