Why does this simple ternary always return the "true" value even when false?


#21

For future reference, as @eibyer mentioned, when creating your original ternary, you needed to use ‘==‘. ‘=‘ is an assignment operator while ‘==‘ is a comparison.


#22

Fantastic, that’s it! Thanks!


#23

Yes, I see that now. Works great! Thanks!