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

Function filter

db/pool.go:180–185  ·  view source on GitHub ↗
(sctx *super.Context, this super.Value, e expr.Evaluator)

Source from the content-addressed store, hash-verified

178}
179
180func filter(sctx *super.Context, this super.Value, e expr.Evaluator) bool {
181 if e == nil {
182 return true
183 }
184 return expr.EvalBool(sctx, this, e).Ptr().AsBool()
185}
186
187type BranchTip struct {
188 Name string

Callers 3

BatchifyBranchesMethod · 0.70
BatchifyBranchTipsMethod · 0.70
BatchifyPoolsMethod · 0.70

Calls 3

EvalBoolFunction · 0.92
AsBoolMethod · 0.80
PtrMethod · 0.80

Tested by

no test coverage detected