The Wayback Machine - https://web.archive.org/web/20201220221500/https://github.com/lodash/lodash/blob/master/isNull.js
Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
20 lines (19 sloc) 345 Bytes
/**
* Checks if `value` is `null`.
*
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is `null`, else `false`.
* @example
*
* isNull(null)
* // => true
*
* isNull(void 0)
* // => false
*/
function isNull(value) {
return value === null
}
export default isNull
You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.