Anonymous user
Boolean values: Difference between revisions
Added Dyalect programming language
(Add min) |
(Added Dyalect programming language) |
||
Line 518:
The standard <code>Boolean</code> type has two values: <code>True</code> and <code>False</code>, with <code>Ord(False) = 0</code> and <code>Ord(True) = 1</code>.
=={{header|Dyalect}}==
Dyalect has a standard <code>Bool</code> type with two values: <code>true</code> and <code>false</code>. Other types in Dyalect support implicit conversion to booleans. All values except <code>false</code>, <code>nil</code>, <code>0</code>, <code>0.0</code> and empty string are converted to <code>true</code>.
=={{header|Dylan}}==
|