physix / frontend /node_modules /tailwindcss /src /util /isPlainObject.js
Pratyush-01's picture
Upload folder using huggingface_hub
9d1374f verified
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
}