The boolean function can be used to find out if an expression or variable is true as a general rule.
Everything with a real value is true.
This includes both numerical and string data.
Anything without a real value is false.
Let's take a look at an example in this script.
We have seven variables declared B one to be seven each variable uses the boolean function to test whether
a specified value is true using the get element by ideas method.
We can output the data.
Let's take a look at this page in our web browser to see the results.
We can see in our browser that all the numbers including eighty two point six negative 10 are true.
The same goes for variable B six which contained the equation the strings included in variable before
and B five are also true the last variable variable B seven which contain the value 0 is false.