notEqual

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

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

Parameters

value

the value to compare against.