MCPcopy Create free account
hub / github.com/aurelia/binding / evaluate

Method evaluate

src/ast.js:172–174  ·  view source on GitHub ↗
(scope, lookupFunctions)

Source from the content-addressed store, hash-verified

170 }
171
172 evaluate(scope, lookupFunctions) {
173 return (!!this.condition.evaluate(scope, lookupFunctions)) ? this.yes.evaluate(scope, lookupFunctions) : this.no.evaluate(scope, lookupFunctions);
174 }
175
176 accept(visitor) {
177 return visitor.visitConditional(this);

Callers

nothing calls this directly

Calls 1

evaluateMethod · 0.45

Tested by

no test coverage detected