doc / ch.tutteli.atrium.logic.creating.transformers / SubjectChangerBuilder / TransformationStep / withTransformation

withTransformation

abstract fun <R> withTransformation(transformation: (T) -> Option<R>): SubjectChangerBuilder.FailureHandlerStep<T, R> (source)

Defines the new subject, most likely based on the current subject (but does not need to be).