assert
- assert(expression): void
-
Check if given value is
TRUETable 1. Parameters expression
Boolean
Expression or value to evaluate
node = FindObject("aaa"); assert(node != null); //Will go through, if object with name "aaa" found and will exit script if not