From OpenSCADAWiki
- Logical type, functions:
- bool isEVal(); bool isNaN( ); — checks the value to null-EVAL.
- string toString(); — performs the value as the string "true" or "false".
- real toReal(); — reads this Boolean as a real number.
- int toInt(); — reads this Boolean as an integer number.