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 e262ee4 commit fcd7701Copy full SHA for fcd7701
danfojs-browser/src/shared/utils.js
@@ -63,7 +63,7 @@ class Utils {
63
* @returns
64
*/
65
isObject(value) {
66
- return typeof value === "object" && value.constructor && value.constructor.name === "Object";
+ return value && typeof value === "object" && value.constructor && value.constructor.name === "Object";
67
}
68
69
/**
danfojs-node/src/shared/utils.js
0 commit comments