UNPKG
@lyra/vision
Version:
latest (0.3.0)
0.3.0
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.2
0.2.1
0.2.0
React-based data management tool for Lyra projects
vegapublish.com
VegaPublish/vega
@lyra/vision
/
lib
/
util
/
isPlainObject.js
9 lines
(8 loc)
•
248 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
'use strict'
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
= isPlainObject;
function
isPlainObject
(
obj
) {
return
!!obj &&
typeof
obj ===
'object'
&&
Object
.
prototype
.
toString
.
call
(obj) ===
'[object Object]'
; }