📄 isPlainObject.js
/home/palash/git/site/node_modules/tailwindcss/src/util/isPlainObject.js
Language: js • Lines: 8
export default function isPlainObject(value) {
  if (Object.prototype.toString.call(value) !== '[object Object]') {
    return false
  }

  const prototype = Object.getPrototypeOf(value)
  return prototype === null || Object.getPrototypeOf(prototype) === null
}