OfTypeMatcher

data class OfTypeMatcher<in T : Any>(val cls: KClass<*>) : Matcher<T>

Checks matcher data type

Constructors

Link copied to clipboard
constructor(cls: KClass<*>)

Properties

Link copied to clipboard
val cls: KClass<*>

Functions

Link copied to clipboard
open override fun match(arg: T?): Boolean
Link copied to clipboard
open fun substitute(map: Map<Any, Any>): Matcher<T>
Link copied to clipboard
open override fun toString(): String