mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Update object checks.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
* // => false
|
||||
*/
|
||||
function isObjectLike(value) {
|
||||
return value != null && typeof value == 'object'
|
||||
return typeof value == 'object' && value !== null
|
||||
}
|
||||
|
||||
export default isObjectLike
|
||||
|
||||
Reference in New Issue
Block a user