leq

infix fun <T : Comparable<T>> KProperty<T>.leq(value: T): () -> Boolean(source)

Check if the value of the property is less than or equal to the specified value.

Return

A lambda function that returns true if the condition is met, false otherwise.

Parameters

value

The value to compare against.