Returns whether something is a plain object A plain object is an object that either has no prototype at all (no inherited methods) or only inherits from Object.prototype
The value to compare.
isPlainObject({ a: 1 }); // trueisPlainObject(pojo()); // trueisPlainObject(new Date()); // false Copy
isPlainObject({ a: 1 }); // trueisPlainObject(pojo()); // trueisPlainObject(new Date()); // false
Optional
Returns whether something is a plain object A plain object is an object that either has no prototype at all (no inherited methods) or only inherits from Object.prototype