Determines if a value is a plain object.
isObject
isPlainObject(new Date()) // false;isPlainObject({}); // trueisPlainObject({ a: 1 }); // true Copy
isPlainObject(new Date()) // false;isPlainObject({}); // trueisPlainObject({ a: 1 }); // true
The value to check.
A boolean indicating whether the value is a plain object.
Determines if a value is a plain object.
See
isObject
Example