Companion

Functions

Link copied to clipboard
infix fun <T> KProperty<T>.eq(value: T): () -> Boolean

Check if the value of the property equals the specified value.

Link copied to clipboard
infix fun <T : Comparable<T>> KProperty<T>.geq(value: T): () -> Boolean

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

Link copied to clipboard
infix fun <T : Comparable<T>> KProperty<T>.gt(value: T): () -> Boolean

Check if the value of the property is greater than the specified value.

Link copied to clipboard
infix fun <T> KProperty<Collection<T>>.isIn(value: T): () -> Boolean

Check if the value is in the specified collection property.

Link copied to clipboard
infix fun <T : Comparable<T>> KProperty<T>.leq(value: T): () -> Boolean

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

Link copied to clipboard
infix fun <T : Comparable<T>> KProperty<T>.lt(value: T): () -> Boolean

Check if the value of the property is less than the specified value.

Link copied to clipboard
infix fun <T> KProperty<T>.neq(value: T): () -> Boolean

Check if the value of the property does not equal the specified value.

Link copied to clipboard
infix fun <T> KProperty<Collection<T>>.notIn(value: T): () -> Boolean

Check if the value is not in the specified collection property.