isNotNull

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

Creates a PredicateSpecification that checks if the property is not null.

Receiver

T – the type of the entity.

P - the type of the property.

Return

A PredicateSpecification that checks if the property is not null.