MCPcopy Create free account
hub / github.com/microsoft/SandDance / isObjectEmpty

Function isObjectEmpty

docs/app/js/sanddance-app.js:59383–59386  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

59381 if (!condition) throw new Error(message || "luma.gl: assertion failed.");
59382}
59383function isObjectEmpty(object) {
59384 for(var key in object)return false;
59385 return true;
59386}
59387function deepArrayEqual(x, y) {
59388 if (x === y) return true;
59389 var isArrayX = Array.isArray(x) || ArrayBuffer.isView(x);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected