Boolean values: Difference between revisions

Content deleted Content added
Peak (talk | contribs)
mv jq
Line 1,249:
 
=={{header|Swift}}==
Swift defines a built-in data type <code>Bool</code>, which has two values, represented by the keywords <code>true</code> and <code>false</code>. There is no conversion between booleans and other data types. Conditionals require a type that conforms to the <code>LogicValueBooleanType</code> protocol, which provides a conversion to <code>Bool</code> for that type; types that conform include <code>Bool</code>, <code>Optional</code>, and pointersome wrapperother types.
 
=={{header|Tcl}}==