--- title: "Boolean" slug: "boolean" updated: 2024-05-04T18:29:38Z published: 2024-05-04T18:29:38Z canonical: "help.mail-and-deploy.com/boolean" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # Boolean ### General Values of type *Boolean* can have either of two states: *True* or *False*. A detailed explanation of the data-type can be found in the  [Boolean Data-Type](https://learn.microsoft.com/en-us/dotnet/visual-basic/language-reference/data-types/boolean-data-type) article of the Visual Basic .NET language documentation. ### Constants Constant boolean values are written by using the keywords *True* and *False*. The following expression returns the boolean value True: Mail & Deploy Expression True The following expression returns the boolean value False: Mail & Deploy Expression True ### Operators The following operators can be used with boolean values: | Operator | Description | | --- | --- | | Not | This operator inverts the boolean value following the operator; *Not True* will therefore return *False* and *Not False* returns *True*. | | And | This operator performs a logical *And* operation which will only return *True* if both values on either side of the operator are *True*. | | Or | This operator performs a logical *Or* operation which will return *True* if at least one of the values on either side of the operator is *True*. |