MCPcopy
hub / github.com/apache/echarts / objectNoOtherNotNullUndefinedPropExcept

Function objectNoOtherNotNullUndefinedPropExcept

test/lib/testHelper.js:3258–3268  ·  view source on GitHub ↗
(obj, exceptProps)

Source from the content-addressed store, hash-verified

3256
3257
3258 function objectNoOtherNotNullUndefinedPropExcept(obj, exceptProps) {
3259 if (!obj) {
3260 return false;
3261 }
3262 for (var key in obj) {
3263 if (obj.hasOwnProperty(key) && arrayIndexOf(exceptProps, key) < 0 && obj[key] != null) {
3264 return false;
3265 }
3266 }
3267 return true;
3268 }
3269
3270 var copyToClipboard = function (text) {
3271 if (typeof navigator === 'undefined' || !navigator.clipboard || !navigator.clipboard.writeText) {

Callers

nothing calls this directly

Calls 1

arrayIndexOfFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…