The ToBool function converts the value of the expression to a Boolean value.
|
Syntax | ||||
|
ToBool(Expr) | ||||
|
Return value | ||||
|
Type |
Description | |||
|
Boolean |
True (-1) or False (0) | |||
|
Parameter | ||||
|
Use |
Name |
Type |
Passing |
Description |
|
Required |
Expr |
Variant |
ByVal |
Expression to be converted to a Boolean value |