convert to boolean
Converting VBScript's CBool Function. Definition: Returns an expression that has been converted to a Variant of subtype Boolean. CBool. Sure, you can convert a string or numeric value to a Boolean value (True or False): all you have to do is convert the data type of the variable to a Boolean type.