The functions in this section deal with boolean logic, such as the function IF(f1, f2, f3) which returns a data array where if the f1 element is true (has a value greater than 0), the result element is set to the value of the f2 element, and if false is set to the value of the f3 element.
In ChartScript, a true value for an element in a data array is always considered to be any value other than 0, and a false value is 0;