Booleans
true
and false
are the two boolean values in JavaScript, representing truth and falsity, respectively. In Wized, you can use these values in conditionals and other logical expressions to control the execution flow of your application.
Example
Example of using boolean values in a conditional statement:
javascript
let userLoggedIn = true;
if (userLoggedIn) {
console.log('Welcome back!');
} else {
console.log('Please log in.');
}