notEqual

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

Creates a PredicateSpecification that checks for inequality 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 inequality.

Parameters

value

– the value to compare against.