The boolean expresses the truth value. The Boolean represents two possible values: TRUE or FALSE. True can be given a value of 1, and False is given a value of zero.
To specify a boolean literal, use the constants TRUE or FALSE. Both are case-insensitive. It means that TRUE is equal to true and FALSE is equal to false. So it can be written as
true === TRUE and false === FALSE
Example 1: This example display the value of uppercase and lowercase boolean.
Example: This example compare the uppercase and lowercase boolean value.
TRUE and true both are same FALSE and false both are same
- AngularJS | lowercase Filter
- SASS | Booleans and Boolean operators
- AngularJS | angular.lowercase() Function
- How to convert array values to lowercase in PHP ?
- AngularJs | uppercase Filter
- PHP | Change strings in an array to uppercase
- AngularJS | angular.uppercase() Function
- PHP Interview Questions and Answers | Set-2
- How to Create a Tab Image Gallery ?
- XML full form
- How to create an Affix or sticky Navbar ?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.