isTrue

fun isTrue(field: String): Condition

Creates a boolean true condition. Matches documents where the specified field is true.

Return

A new true condition.

Parameters

field

The field name to check.