- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for compileAndRun (0.09 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy_test.go
variablesMap.Append("dict", func(_ *MapValue) ref.Val { evalCounter++ v, err := compileAndRun(env, activation, `{"a": "a"}`) if err != nil { return types.NewErr(err.Error()) } return v }) // iterate the map with .all exp = `variables.all(n, n != "")` v, err = compileAndRun(env, activation, exp) if err != nil { t.Fatalf("%q: %v", exp, err) } if v.Value().(bool) != true {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 4.6K bytes - Viewed (0)