in

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

Creates a PredicateSpecification that checks if the property's value is in the given value.

Receiver

T – the type of the entity.

P - the type of the property.

Return

A PredicateSpecification that checks if the property is in the value.

Parameters

value

– the value to check for inclusion (can be a Collection).