or

infix fun <T : Any> PredicateSpecification<T>.or(other: PredicateSpecification<T>): PredicateSpecification<T>(source)

ORs the given PredicateSpecification to the current one.

Receiver

T – the type of the entity.

Return

The disjunction of the specifications.

Parameters

other

– the other PredicateSpecification.


fun <T : Any> or(vararg predicateSpecification: PredicateSpecification<T>): PredicateSpecification<T>(source)

ORs all the given PredicateSpecifications together.

Return

The disjunction of all specifications.

Parameters

T

– the type of the entity.

predicateSpecification

– the PredicateSpecifications to combine.