Sign in
cobalt
/
cobalt
/
refs/heads/22.lts.stable
/
.
/
src
/
third_party
/
devtools
/
node_modules
/
es-to-primitive
/
helpers
/
isPrimitive.js
blob: 366915645275961923035dff493fe5724313b394 [
file
] [
log
] [
blame
] [
edit
]
module
.
exports
=
function
isPrimitive
(
value
)
{
return
value
===
null
||
(
typeof
value
!==
'function'
&&
typeof
value
!==
'object'
);
};