Spec

interface Spec<T>(source)

Represents some predicate against objects of type T.

Inheritors

Functions

Link copied to clipboard
operator fun <T> Spec<T>.invoke(arg: T): Boolean

Enables function invocation syntax on Spec instances.

Link copied to clipboard
abstract fun isSatisfiedBy(element: T): Boolean