less Than Or Equal To
fun <T : Any, P : Comparable<P>> KProperty1<T, P?>.lessThanOrEqualTo(value: P): Specification<T>(source)
Creates a Specification that checks if the property is less than or equal to the given value.
Receiver
T – the type of the entity.
P - the type of the property, which must be Comparable.
Return
A Specification that checks if the property is less than or equal to the given value.
Parameters
value
– the value to compare against.