isIn

fun isIn(field: String, value: List<Any>): Condition

Creates an in condition. Matches documents where the specified field value is in the given list of values.

Return

A new in condition.

Parameters

field

The field name to check.

value

The list of values to match against.