isPlainObject(obj: any): obj is Record<PropertyKey, unknown>
Value is a plain object, created using typical {object: "notation"} or an object with no prototype ({__proto__:null} or Object.create(null)). Functions, Dates, Maps, Sets, Errors, RegExps, arrays and libraries like Math are not considered plain, nor are objects that have tampered with [Symbol.toStringTag].
Value is a plain object, created using typical
{object: "notation"}
or an object with no prototype ({__proto__:null}
orObject.create(null)
). Functions, Dates, Maps, Sets, Errors, RegExps, arrays and libraries like Math are not considered plain, nor are objects that have tampered with[Symbol.toStringTag]
.