is-plain-object-x
Tests if a value is a plain object.
module.exports
⇒ boolean
⏏
This method tests if value
is a plain object, that is, an object created by
the Object
constructor or one with a [[Prototype]]
of null
.
Kind: Exported member
Returns: boolean
- True if a plain object, otherwise false.
Param | Type | Description |
---|---|---|
value | * |
The value to test. |
Example
; { thisa = 1;} ; // => false; // => false; // => true; // => true