and

fun and(vararg conditions: Condition): Condition

Creates an AND condition combining multiple conditions. All specified conditions must be true for the combined condition to be true.

Return

A new AND condition.

Parameters

conditions

The conditions to combine with AND logic.


fun and(conditions: List<Condition>): Condition

Creates an AND condition combining a list of conditions. All specified conditions must be true for the combined condition to be true.

Return

A new AND condition.

Parameters

conditions

The list of conditions to combine with AND logic.