isTrue

fun <T : Any> KProperty1<T, Boolean>.isTrue(): Specification<T>(source)

Creates a Specification that checks if the Boolean property is true.

Receiver

T – the type of the entity.

Return

A Specification that checks if the property is true.


@JvmName(name = "isTrueNullable")
fun <T : Any> KProperty1<T, Boolean?>.isTrue(): Specification<T>(source)

Creates a Specification that checks if the nullable Boolean property is true.

Receiver

T – the type of the entity.

Return

A Specification that checks if the property is true.