MCPcopy Index your code
hub / github.com/microsoft/SandDance / isPureObject

Function isPureObject

docs/app/js/sanddance-app.js:55282–55284  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

55280 return x !== null && (0, _typeofDefault.default)(x) === "object";
55281};
55282var isPureObject = function isPureObject(x) {
55283 return isObject(x) && x.constructor === ({}).constructor;
55284};
55285var isPromise = function isPromise(x) {
55286 return isObject(x) && isFunction(x.then);
55287};

Callers

nothing calls this directly

Calls 1

isObjectFunction · 0.70

Tested by

no test coverage detected