doc / ch.tutteli.atrium.domain.creating.any.typetransformation.creators / AnyTypeTransformationAssertions / downCast

downCast

abstract fun <T : Any, TSub : T> downCast(description: Translatable, subType: KClass<TSub>, subjectPlant: BaseAssertionPlant<T?, *>, assertionCreator: AssertionPlant<TSub>.() -> Unit, failureHandler: AnyTypeTransformation.FailureHandler<T, TSub>): Unit (source)