withValidation

abstract fun withValidation(validation: Boolean = true): PromptRunner.Creating<T>

Set whether to validate created objects.

Return

this instance for method chaining

Parameters

validation

true to validate created objects; false otherwise. Defaults to true.