Boolexpr Function
From WarCraft3
< wc3
function NAME takes nothing returns boolean
A boolexpr function is a function that takes no arguments and returns a boolean value of true or false. A boolexpr that does not return a boolean is possible, but it desynchronizes Mac users. In combination with Condition and Filter, a boolexpr function is used to create a conditionfunc or a filterfunc, respectively. Since there is no difference between a filterfunc and a conditionfunc (the two both extend boolexpr), the two can be used interchangeably.