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

Languages with Booleans include bag-format, edn, feel, graphql, javascript, json, opengraph, python, typescript

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 February 18th, 2020

Edit Booleans on GitHub