whenInstanceOf

open fun <R : T?> whenInstanceOf(target: Class<R>): PropertyMapper.Source<R>

Return a filtered version of the source that will only map values that are an instance of the given type.

Return

a new filtered source instance

Parameters

<R>

the target type

target

the target type to match