Checks if value is a plain object. An object is plain if it is created by either {}, new Object(), or Object.create(null).
value
{}
new Object()
Object.create(null)
Checks if
value
is a plain object. An object is plain if it is created by either{}
,new Object()
, orObject.create(null)
.