doc / ch.tutteli.atrium.assertions.builders / SubjectBasedOption / DefinedOption / ifDefined

ifDefined

abstract fun ifDefined(failureHintFactory: (T) -> R): AO (source)

Defines the failure hint factory which should be used if the subject of the expectation is defined.