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

Class ConditionalExpressionParsed

src/util/conditionalExpression.ts:449–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447
448
449class ConditionalExpressionParsed {
450
451 private _cond: ParsedConditionInternal;
452
453 constructor(
454 exprOption: ConditionalExpressionOption,
455 getters: ConditionalGetters
456 ) {
457 this._cond = parseOption(exprOption, getters);
458 }
459
460 evaluate(): boolean {
461 return this._cond.evaluate();
462 }
463};
464
465interface ConditionalGetters<VGP extends ValueGetterParam = ValueGetterParam> {
466 prepareGetValue: ConditionalExpressionValueGetterParamGetter<VGP>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…