Boolean

value class Boolean(val result: Boolean) : ToolResult(source)

A custom inline value class that wraps a kotlin.Boolean to provide additional functionality or semantics.

The Boolean value class is used to represent a logical value, either true or false, with the added capability of being part of a custom implementation.

Constructors

Link copied to clipboard
constructor(result: Boolean)

Types

Link copied to clipboard
object Companion

Companion object that provides constants for Boolean values.

Properties

Link copied to clipboard

The internal kotlin.Boolean value representing the logical state.

Functions

Link copied to clipboard
open override fun toStringDefault(): String

Provides a string representation of the implementing instance with default formatting.