apply

abstract fun apply(value: T): Boolean

Applies the predicate against a value.

Return

true if the predicate matches the object, otherwise false.

Parameters

value

The value to test this predicate against.