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 ```klyn # 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 BadValueException` | 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.