ToBool Function

  • Updated

The ToBool function converts an expression to a boolean value.

Syntax

 

The ToBool function converts an expression to a boolean value.

 

ToBool(expression)

 

 

Arguments:

 

 

 

expression

Expression - The expression to convert.

Remarks

  • Example: ToBool(1) returns true.
  • Example: ToBool(0) returns false.
  • Example: ToBool("true") returns true.
  • Example: ToBool("false") returns false.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.