unaryPlus

open operator fun String.unaryPlus(): ComponentBuilder

Operator function to append a string to this component builder using the unary + operator.

Return

this component builder for chaining


open operator fun Any?.unaryPlus(): ComponentBuilder

Operator function to append any value to this component builder using the unary + operator. Accepts nullable values of any type and converts them to components appropriately. String values are appended as text components, Component values are appended directly, and other types are converted to strings via toString() before appending.

Return

this component builder for chaining


open operator fun Component.unaryPlus(): ComponentBuilder

Operator function to append a component to this component builder using the unary + operator.

Return

this component builder for chaining


open operator fun unaryPlus(): ComponentBuilder

Operator function that returns this component builder. This is useful for syntax like +"string" { style }.

Return

this component builder for chaining