Boolean values: Difference between revisions

Content added Content deleted
Line 905: Line 905:
=={{header|Dyalect}}==
=={{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>.
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> and <code>nil</code> are converted to <code>true</code>.


=={{header|Dylan}}==
=={{header|Dylan}}==