Boolean ConversionConverting values to boolean. Boolean Conversion You can use the Boolean() function to find out if an expression (or a variable) is true. Boolean(10 > 9) // returns true Examplelet x = 0; Boolean(x); // falseTry it Yourself PreviousNext