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

Function assert

test/lib/testHelper.js:2039–2043  ·  view source on GitHub ↗
(cond, msg)

Source from the content-addressed store, hash-verified

2037 }
2038 var failErr;
2039 function assert(cond, msg) {
2040 if (!cond) {
2041 throw new Error(msg || 'printAssert error');
2042 }
2043 }
2044 try {
2045 checkerFn(assert);
2046 }

Callers 15

initUpdateInfoFunction · 0.70
initInputsFunction · 0.70
disableInputsFunction · 0.70
recordInputsFunction · 0.70
replayInputsFunction · 0.70
wrapUserInputListenerFunction · 0.70
initInputsContainerFunction · 0.70
storeToInputDictFunction · 0.70
retrieveAndVerifyGroupFunction · 0.70
createSelectInputFunction · 0.70
initSelectInputOptionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…