@FunctionalInterface
interface Predicate<T>


Represents a predicate boolean-valued function of one argument. It is used internally to avoid using Java 8 functional interface that leads to desugaring and Proguard shrinking.

Parameters
<T>

the type of the input to the predicate

See also
Predicate

Summary

Public functions

Boolean
test(t: T!)

Tests the predicate against a given argument.

Public functions

test

Added in 1.0.0
fun test(t: T!): Boolean

Tests the predicate against a given argument.

Parameters
t: T!

the input of the predicate

Returns
Boolean

true if the input matches the Predicate, otherwise, false