doc / ch.tutteli.atrium.logic.creating / FeatureExpectOptionsChooser / withDescription

withDescription

open fun withDescription(description: String): Unit (source)

Wraps the given description into an Untranslatable and passes it to the overload which expects a Translatable -- this is then used as custom description instead of the previously defined description.

abstract fun withDescription(description: Translatable): Unit (source)

Uses the given description as custom description instead of the previously defined description.