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

Method evaluate

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

Source from the content-addressed store, hash-verified

259class OrConditionInternal implements ParsedConditionInternal {
260 children: ParsedConditionInternal[];
261 evaluate() {
262 const children = this.children;
263 for (let i = 0; i < children.length; i++) {
264 if (children[i].evaluate()) {
265 return true;
266 }
267 }
268 return false;
269 }
270}
271class NotConditionInternal implements ParsedConditionInternal {
272 child: ParsedConditionInternal;

Callers

nothing calls this directly

Calls 1

evaluateMethod · 0.65

Tested by

no test coverage detected