Match

class Match<T>(val result: T) : FilterResult<T> (source)

Represents a matching filter result.

Parameters

T

The type a Filter returns

result

The result of the filter

Constructors

Link copied to clipboard
constructor(result: T)

Properties

Link copied to clipboard
val result: T

Functions

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard

If the current FilterResult is FilterResult.Match, change its result to the given one. Otherwise, return the original.