MCPcopy Create free account
hub / github.com/brimdata/super / Eval

Method Eval

runtime/vam/expr/conditional.go:25–27  ·  view source on GitHub ↗
(this vector.Any)

Source from the content-addressed store, hash-verified

23}
24
25func (c *conditional) Eval(this vector.Any) vector.Any {
26 return vector.Apply(true, c.eval, c.predicate.Eval(this), this)
27}
28
29func (c *conditional) eval(vecs ...vector.Any) vector.Any {
30 predVec, thisVec := vecs[0], vecs[1]

Callers

nothing calls this directly

Calls 2

ApplyFunction · 0.92
EvalMethod · 0.65

Tested by

no test coverage detected