bitsAllSet

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

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

Return

the filter

Parameters

bitmask

the bitmask


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

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

Return

the filter

Parameters

property

the data class property

bitmask

the bitmask