utils.go: toInt() -> ToInt(); toBool() -> ToBool()
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ func newNotEqualTerm(tk *Token) (inst *term) {
|
||||
|
||||
func evalNotEqual(ctx ExprContext, self *term) (v any, err error) {
|
||||
if v, err = evalEqual(ctx, self); err == nil {
|
||||
b, _ := toBool(v)
|
||||
b, _ := ToBool(v)
|
||||
v = !b
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user