Files
NapCatQQ/.pnpm-store/v3/files/00/50321917ab027404d8728aa9c7eb84f65ec06c6f3fe5f6c5b26944895e4f21d8ba8eef3b8faf135bde7cc0c93553649c993d68beac437b9f8742f7a7baa38f
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

26 lines
424 B
Plaintext

/**
* Checks if `value` is `null` or `undefined`.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is nullish, else `false`.
* @example
*
* _.isNil(null);
* // => true
*
* _.isNil(void 0);
* // => true
*
* _.isNil(NaN);
* // => false
*/
function isNil(value) {
return value == null;
}
export default isNil;