isNotNull

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

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

Receiver

T – the type of the entity.

P - the type of the property.

Return

A Specification that checks if the property is not null.