Boolean
class in package klyn

    public class Boolean implements ValueType:

Boolean
All Implemented Interfaces: ValueType

Represents a Boolean value (`true` or `false`). Boolean values are used in conditional expressions and logical operations.

Example

    # Create Boolean values
    flag as Boolean = true
    isEmpty = (count == 0)

    # Logical operations
    if flag and not isEmpty:
    print("Processing...")

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public native | Boolean `Boolean()` | Builds the neutral Boolean value (`false`).
public native | Boolean `Boolean(value: Boolean)` | Builds a Boolean from another Boolean value.
public native | Boolean `Boolean(value: Double)` | Builds a Boolean from a double-precision value.
public native | Boolean `Boolean(value: Float)` | Builds a Boolean from a floating-point value.
public native | Boolean `Boolean(value: Int)` | Builds a Boolean from a signed integer.
public native | Boolean `Boolean(value: Long)` | Builds a Boolean from a signed long integer.
public native | Boolean `Boolean(value: String) throws ValueException` | Builds a Boolean from a textual representation.
public native | Boolean `Boolean(value: UInt)` | Builds a Boolean from an unsigned integer.
public native | Boolean `Boolean(value: ULong)` | Builds a Boolean from an unsigned long integer.