true

Summary

Boolean value for true.

Syntax

true

Description

Boolean (bool) type data can take on two possible values: true or false.

Boolean results can be returned from certain types of expressions such as comparison operators. For example, the expression 5 > 2 evaluates to true. Other operators and statements, such as logical operators, if...else, and while may also deal with Boolean expressions.

See Also

Share

HTML | BBCode | Direct Link