current variable is not valid

I had several issues with casting of int/string , I recommend to add support to auto cast int and string /booleans.

For example on image below Im not able to use the multiple condictions, becase type is boolean, how ever my condition can be a bolean.... age (int type) > 18 , can be true or falsy. So why is this not supported?

1