MCPcopy
hub / github.com/tdewolff/minify / assert

Function assert

_benchmarks/sample_echarts.js:559–563  ·  view source on GitHub ↗
(condition, message)

Source from the content-addressed store, hash-verified

557 return val;
558 }
559 function assert(condition, message) {
560 if (!condition) {
561 throw new Error(message);
562 }
563 }
564 function trim(str) {
565 if (str == null) {
566 return null;

Callers 15

mappingByIdFunction · 0.70
makeIdAndNameFunction · 0.70
queryReferringComponentsFunction · 0.70
checkClassTypeFunction · 0.70
enableClassCheckFunction · 0.70
concatInternalOptionsFunction · 0.70
sample_echarts.jsFile · 0.70
normalizeSetOptionInputFunction · 0.70
getRawSourceItemGetterFunction · 0.70
getRawSourceDataCounterFunction · 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…