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.
2 parents d56144e + fcd7701 commit 516be67Copy full SHA for 516be67
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