Boolean data type

Official Content
This documentation is valid for:

Boolean data type enables you to represent logical values. 

In code, Booleans are represented by values 'True' or 'False'

Boolean attributes and variables will be displayed as checkboxes in the user interface.

'True' and 'False' keywords are used to assign values:

&IsEnabled = True
&IsEnabled = False

You can also use True/False in comparisons:

For Each
    Where CustomerIsActive = True
    ...
EndFor

Methods

 

Scope

Objects Attributes, Variables
Generators .NET, .NET Core, Java, Visual FoxPro (up to GeneXus X Evolution 3), Apple, Android