Original post

I have a need to evaluate a string and get a True or False back. For instance

20 == 30 && ABC == ABC. // Should return false

20==30 || ABC == ABC // Should return true

I was hoping for some function like

result := x.Eval("20==30 || ABC == ABC")

Any packages able to do that?