OTX Reference
|
|
Convert expression to Boolean More...
Public Attributes | |
Term | term |
The expression (term) to be converted to Boolean More... | |
Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term | |
MetaData | metaData |
Cardinality [0..1] The MetaData type allows tools to store additional, mainly tool-specific data. More... | |
Convert expression to Boolean
The ToBoolean
term returns the Boolean
equivalent of the argument. If the argument is Integer 0
, Float 0.0
or an empty ByteField
it returns false
. In all other cases, true
. If the Argument is String "true"
, it returns true
, regardless of the case. In all other cases, false
.
Boolean
Integer
Float
ByteField
String
Term OpenTestSystem.Otx.Core.Terms.ToBoolean.term |
The expression (term) to be converted to Boolean