Booleans
Booleans is an actively used design pattern. In computer science, the Boolean data type is a data type that has one of two possible values (usually denoted true and false), intended to represent the two truth values of logic and Boolean algebra.
?Years Old |
- the Booleans wikipedia page
- Have a question about Booleans not answered here? Email me and let me know how I can help.
Languages with Booleans include bag-format, edn, feel, graphql, ion, javascript, json, opengraph, python, typescript
Example from ion:
null.bool true false
Example from javascript:
const result = true
Example from json:
false
Example from opengraph:
true false 1 0
Example from python:
result = true
Example from typescript:
const result = true
Last updated August 9th, 2020