🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
8
node_modules/is-plain-obj/index.js
generated
vendored
Normal file
8
node_modules/is-plain-obj/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
export default function isPlainObject(value) {
|
||||
if (typeof value !== 'object' || value === null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const prototype = Object.getPrototypeOf(value);
|
||||
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue