first commit
This commit is contained in:
10
app_vue/node_modules/is-plain-obj/index.js
generated
vendored
Normal file
10
app_vue/node_modules/is-plain-obj/index.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = value => {
|
||||
if (Object.prototype.toString.call(value) !== '[object Object]') {
|
||||
return false;
|
||||
}
|
||||
|
||||
const prototype = Object.getPrototypeOf(value);
|
||||
return prototype === null || prototype === Object.prototype;
|
||||
};
|
Reference in New Issue
Block a user