🚀 Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
duzhbywe
/
nodevenv
/
Job-Portal
/
20
/
lib
/
node_modules
/
react-redux
/
src
/
utils
✏️
Editing: isPlainObject.ts
/** * @param {any} obj The object to inspect. * @returns {boolean} True if the argument appears to be a plain object. */ export default function isPlainObject(obj: unknown) { if (typeof obj !== 'object' || obj === null) return false let proto = Object.getPrototypeOf(obj) if (proto === null) return true let baseProto = proto while (Object.getPrototypeOf(baseProto) !== null) { baseProto = Object.getPrototypeOf(baseProto) } return proto === baseProto }
💾 Save Changes
❌ Cancel