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

Method ValueGreaterThan_float

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

Source from the content-addressed store, hash-verified

34}
35
36func (p *Program) ValueGreaterThan_float(v Value, i float64) Condition {
37 return func(e *Env) bool {
38 realized := v(e)
39 return realized > i
40 }
41}
42
43func (p *Program) ValueLessThan_float(v Value, i float64) Condition {
44 return func(e *Env) bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected