bitsAnySet

@JvmName(name = "bitsAnySetExt")
infix fun <T> KProperty<T?>.bitsAnySet(bitmask: Long): Bson

Creates a filter that matches all documents where any of the bit positions are set in the property.

Return

the filter

Parameters

bitmask

the bitmask


fun <T> bitsAnySet(property: KProperty<T?>, bitmask: Long): Bson

Creates a filter that matches all documents where any of the bit positions are set in the property.

Return

the filter

Parameters

property

the data class property

bitmask

the bitmask