Sign in
chromium
/
external
/
github.com
/
SeleniumHQ
/
selenium
/
refs/heads/api-docs-4.30.0-all
/
.
/
node_modules
/
is-plain-obj
/
index.js
blob: 95079ec65258a6fb959f4bedfe6c5a4f41f27a4a [
file
] [
log
] [
blame
] [
edit
]
'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
;
};