PHP 8.2.30
Preview: isPlainObject.ts Size: 495 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/react-redux/src/utils/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
}

Directory Contents

Dirs: 0 × Files: 12

Name Size Perms Modified Actions
412 B lrw-r--r-- 2026-02-28 00:29:40
Edit Download
527 B lrw-r--r-- 2026-02-28 00:29:42
Edit Download
495 B lrw-r--r-- 2026-02-28 00:29:52
Edit Download
168 B lrw-r--r-- 2026-02-28 00:29:58
Edit Download
53 B lrw-r--r-- 2026-02-28 00:29:58
Edit Download
753 B lrw-r--r-- 2026-02-28 00:30:00
Edit Download
4.11 KB lrw-r--r-- 2026-02-28 00:30:02
Edit Download
175 B lrw-r--r-- 2026-02-28 00:30:06
Edit Download
997 B lrw-r--r-- 2026-02-28 00:30:06
Edit Download
364 B lrw-r--r-- 2026-02-28 00:30:08
Edit Download
353 B lrw-r--r-- 2026-02-28 00:30:10
Edit Download
665 B lrw-r--r-- 2026-02-28 00:30:12
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).