Boolean
A Boolean is a data type with only two possible values: true or false. It is the basis of every decision a program makes.
General Programming
Examples
Python
is_logged_in = True
print(is_logged_in)Output:
TrueJavaScript
let isLoggedIn = true;
console.log(isLoggedIn);Output:
true