Closed trusktr closed 3 years ago
Oh wait, I see my formula is passing in a single input that is a string. Maybe that's why...
Yeah, that was it, my formula only had one input (equivalent to 1 * x
, but looks like it simply return the value back). 😆
This is what I see at runtime:
The return of evaluate was
number
, but I see strings being returned.Why was
Expression#evaluate
's return typeany
? Does it return things other than strings?