We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5a6bf4 commit ddbfc5aCopy full SHA for ddbfc5a
src/utils/isPlainObject.js
@@ -1,3 +1,3 @@
1
export default function isPlainObject(obj) {
2
- return typeof obj == 'object' && Object.getPrototypeOf(obj) === Object.prototype;
+ return typeof obj === 'object' && Object.getPrototypeOf(obj) === Object.prototype;
3
}
0 commit comments