isInstance

fun <T : Any, S : T> isInstance(subclass: KClass<S>): ParameterMatcher<T>

Creates a ParameterMatcher that matches any value that is an instance of a given class This is stronger than notNull but weaker than notEq.

Parameters

subclass

The KClass to check the isntance for