or

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

ORs the given Specification to the current one.

Receiver

T – the type of the entity.

Return

The disjunction of the specifications.

Parameters

other

– the other Specification.


fun <T : Any> or(vararg specification: Specification<T>): Specification<T>(source)

ORs all the given Specifications together.

Return

The disjunction of all specifications.

Parameters

T

– the type of the entity.

specification

– the Specifications to combine.