equal

fun <T : Any, P> KProperty1<T, P>.equal(value: P): PredicateSpecification<T>(source)

Creates a PredicateSpecification that checks for equality between the property and the given value.

Receiver

T – the type of the entity.

P - the type of the property.

Return

A PredicateSpecification that checks for equality.

Parameters

value

– the value to compare against.