If Variabel. If errorlevel n statements should be read as if errorlevel number. If the condition specified in an if clause is true the command that follows the condition is carried out.
Subject to variation or changes. Another method to check if a variable is a number is using a try except block. There are several useful tests that you can make using jinja2 builtin tests and filers.
Example 1 flag cases based on date function.
In this article i ll show how to test if a variable exists or not if it is empty or not and if it is set to true. Either int or float. For analyzing a selection of cases use filter or select if instead. There are several useful tests that you can make using jinja2 builtin tests and filers.