MCPcopy
hub / github.com/Pythagora-io/pythagora / isJSONObject

Function isJSONObject

src/utils/common.js:95–97  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

93}
94
95function isJSONObject(value) {
96 return Object.prototype.toString.call(value) === "[object Object]";
97}
98function compareJson(a, b, strict) {
99 if (a === b) return true;
100 if (typeof a !== typeof b) return false;

Callers 3

isLegacyObjectIdFunction · 0.85
jsonObjToMongoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected