MCPcopy Create free account
hub / github.com/expr-lang/expr / ValueLessThan_float

Method ValueLessThan_float

test/operator/issues584/issues584_test.go:43–48  ·  view source on GitHub ↗
(v Value, i float64)

Source from the content-addressed store, hash-verified

41}
42
43func (p *Program) ValueLessThan_float(v Value, i float64) Condition {
44 return func(e *Env) bool {
45 realized := v(e)
46 return realized < i
47 }
48}
49
50type Condition func(e *Env) bool
51type Conditions []Condition

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected