EqualityFilter

class EqualityFilter<T>(expectedValue: T)(source)

A filter, which succeeds when the given value is expectedValue, fails otherwise, and never skips.

Parameters

T

The type the filter accepts

expectedValue

The value the filter should succeed for

Constructors

Link copied to clipboard
constructor(expectedValue: T)

Functions

Link copied to clipboard
open fun evaluate(value: T): <Error class: unknown class><out Unit>
Link copied to clipboard
open override fun toString(): String