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

Method evaluate

src/util/conditionalExpression.ts:249–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

247class AndConditionInternal implements ParsedConditionInternal {
248 children: ParsedConditionInternal[];
249 evaluate() {
250 const children = this.children;
251 for (let i = 0; i < children.length; i++) {
252 if (!children[i].evaluate()) {
253 return false;
254 }
255 }
256 return true;
257 }
258}
259class OrConditionInternal implements ParsedConditionInternal {
260 children: ParsedConditionInternal[];

Callers

nothing calls this directly

Calls 1

evaluateMethod · 0.65

Tested by

no test coverage detected