eq

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

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

Return

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

Parameters

value

The value to compare against.