Sign in
chromium
/
devtools
/
devtools-frontend
/
795b8d034574da8737f2ee9ff4f94de6d000a9a4
/
.
/
node_modules
/
is-plain-obj
/
index.js
blob: 95079ec65258a6fb959f4bedfe6c5a4f41f27a4a [
file
] [
log
] [
blame
]
'use strict'
;
module
.
exports
=
value
=>
{
if
(
Object
.
prototype
.
toString
.
call
(
value
)
!==
'[object Object]'
)
{
return
false
;
}
const
prototype
=
Object
.
getPrototypeOf
(
value
);
return
prototype
===
null
||
prototype
===
Object
.
prototype
;
};