customCondition

@JvmStatic
fun customCondition(condition: (Entity) -> Boolean): EntityQueryCondition

Creates a custom condition based on a lambda function.

Return

An EntityQueryCondition that encapsulates the custom condition logic.

Parameters

condition

A lambda that defines the custom condition for the entity.