instanceof

fun <T : Any> instanceof(clazz: KClass<T>): AnyRule(source)

Validate that the element is of type clazz.

Return

The rule on which this method has been invoked.