Hello Gazi,
in Chora there is actually no direct type-cast operation from int32 to bool. Instead it is always necessary to compare the integer value with e.g. a number: if ( v != 0 ) .... This strict behaviour should limit possible error sources and ambiguity.
We know that this limitation is odd for users having experience with C, JavaScript, etc. Our next release will address this limitation as well as other aspects of Chora to make it more similar to C, JavaScript, etc.
Does it help you?
Best regards
Paul Banach