Boolean
Boolean data types indicate if a condition is true or false. You can add these methods to the Boolean data type:
Table 25-1 Boolean Methods and Attributes
Method | Description |
---|---|
and |
Enables you to join multiple expression terms as an alternative to using the And operator. Returns True if both the current expression and the specified condition are true. |
equals |
Returns True if the Boolean contains a value that equals a specified field. |
isNull |
Returns True if the Boolean has a null value |
not |
Returns the inverse of the Boolean value |
or |
Enables you to join multiple expression terms as an alternative to using the Or operator. Returns True if either the current expression or the specified condition are true. |
You can add literal values to Boolean data types. See Working with Literal Values.