First Match Filter
class FirstMatchFilter<T, TResult>(filters: Iterable<Filter<T, out TResult>>) : Filter<T, TResult> , Iterable<Filter<T, out TResult>> (source)
A filter, which returns the first FilterResult.Match result from filters. Only skips if all sub-filters skip, and only yields mismatch if no sub-filters yield match.
Parameters
T
The type the filter accepts
TResult
The type the filter returns
filters
The sub-filters to evaluate