2.5.6.1 vBoolean

The vBoolean custom input type specifies a PtgBool parse token that is derived from a source token that MUST be a vNumAny custom token grouping or a PtgString or PtgCy parse token. It contains the following computed property.

Value: This property specifies the Value of a Boolean value derived from the source token as follows.

If the source token is a PtgBool, the Value is equal to the source token Value. If the source token is a PtgString that contains a formula that evaluates to FALSE or zero, the Value is FALSE; if the source token is a PtgString that contains a formula that evaluates to TRUE or a value other than zero, the Value is TRUE. Otherwise, the input argument is not valid.

If the source token is a vNum or PtgCy with a Value equal to zero, the Value is FALSE; otherwise, Value is TRUE.