import "github.com/chaos-mesh/chaos-mesh/pkg/expr"
expr.go
func EvalBool(expression string, env map[string]interface{}) (bool, error)