What is a Boolean?

A Boolean is a data type which has one of only two possible values: true or false. Booleans represent the truth values that are associated with the logic branch of mathematics, which informs algorithms in computer science. In programming, Booleans are used to make comparisons and to control the flow of a program.

For more resources about booleans, please visit:

A complete list of our development-related tutorials, questions, and other educational resources can be found on our development tag page.

Originally posted on DigitalOcean Community Tutorials
Author: Brian Boucheron

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *