feat: adding linter for commits
This commit is contained in:
7
node_modules/is-plain-obj/index.js
generated
vendored
Normal file
7
node_modules/is-plain-obj/index.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
var toString = Object.prototype.toString;
|
||||
|
||||
module.exports = function (x) {
|
||||
var prototype;
|
||||
return toString.call(x) === '[object Object]' && (prototype = Object.getPrototypeOf(x), prototype === null || prototype === Object.getPrototypeOf({}));
|
||||
};
|
Reference in New Issue
Block a user