isPlainObject
Check if the given value
is a plain object (created by the Object constructor or with a null prototype).
v
(any
): The value to test if it is a plain object.boolean
): Returns true
if the value is a plain object, otherwise returns false
.