This is such a common occurrence that there already exist many functions that deal
with Boolean data. Functions such as
OR, AND, NAND, NOR, and NOT are all Boolean func‐
tions. They take in two inputs that are true or false and output something that is true
or false.
These have been used for great advances in the electronics community through digi‐
tal logic gates and can be composed together to solve many problems. But ...