public class Boolean implements ValueType:
Represents a Boolean value (true or false). Boolean values are used in conditional expressions and logical operations.
# Create Boolean values
flag as Boolean = true
isEmpty = (count == 0)
# Logical operations
if flag and not isEmpty:
print("Processing...")| Modifier and Type | Member | Description |
|---|---|---|
| public native | BooleanBoolean() |
Builds the neutral Boolean value (false). |
| public native | Boolean | Builds a Boolean from another Boolean value. |
| public native | Boolean | Builds a Boolean from a double-precision value. |
| public native | Boolean | Builds a Boolean from a floating-point value. |
| public native | Boolean | Builds a Boolean from a signed integer. |
| public native | Boolean | Builds a Boolean from a signed long integer. |
| public native | BooleanBoolean(value: String) throws BadValueException |
Builds a Boolean from a textual representation. |
| public native | Boolean | Builds a Boolean from an unsigned integer. |
| public native | Boolean | Builds a Boolean from an unsigned long integer. |