Matchable

fun interface Matchable<T>

Matchable is a generic interface for checking whether an input matches an expectation.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun matches(input: T): Boolean

Returns whether or not the this Matchable matches the given input.