unaryPlus

operator fun T.unaryPlus()(source)

Adds this value to the collector.

This operator enables idiomatic DSL usage such as:

fixedValues {
+"A"
+"B"
}

Duplicate values are ignored, as the underlying collection is a Set.

Receiver

the value to add to the collector