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

Function isfalse

runtime/sam/expr/eval.go:96–98  ·  view source on GitHub ↗
(val super.Value)

Source from the content-addressed store, hash-verified

94}
95
96func isfalse(val super.Value) bool {
97 return val.Type().ID() == super.IDBool && !val.IsNull() && !val.Bool()
98}
99
100func (o *Or) Eval(this super.Value) super.Value {
101 lhs := EvalBool(o.sctx, this, o.lhs)

Callers 1

EvalMethod · 0.85

Calls 4

IsNullMethod · 0.80
BoolMethod · 0.80
IDMethod · 0.65
TypeMethod · 0.65

Tested by

no test coverage detected