You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Run in Go Playground](https://play.golang.com/p/5gqKN1DkCXp)
53
+
[Run in Go Playground](https://play.golang.com/p/YaweDHqUJKa)
54
+
55
+
## Functions
56
+
57
+
```Go
58
+
funcEval(expression []byte) (*Operand, error)
59
+
```
60
+
Eval evaluates expression and returns the result. No external variables used. See EvalVar for more.
61
+
Returns a pointer to Operand or error.
62
+
Use Operand's method `.String()` to get a serializable value or see Operand's `.OperandType` field to determine the result type and get the value from `.Str`, `.Number` or `.Bool` field.
0 commit comments