Checks if a variable's base type is boolean.
IsBool ( variable )
| variable | The variable/expression to check. |
| Success: | Returns 1. |
| Failure: | Returns 0 if expression is not boolean type. |
Local $b = True
If IsBool($b) Then MsgBox(0, "Success", "$b is a boolean variable")