I've been doing something like this (example):
where the if
block is checking a string-type variable for truthiness.
However, I just realized that I do not know if AI2 does type coercion if at all. I accidentally made a number of these checks unconsciously coming from an ECMAScript background...so my project is littered with these.
So, does App Inventor 2 do any sort of type coercion, or will the resulting app crash when it tries to check for a bool value in a non-bool input?