bitwiseAnd

@JvmName(name = "ulongbitwiseAnd")
fun bitwiseAnd(property: KProperty<ULong>, value: Int): Bson
@JvmName(name = "uintbitwiseAnd")
fun bitwiseAnd(property: KProperty<UInt>, value: Int): Bson
@JvmName(name = "ushortbitwiseAnd")
fun bitwiseAnd(property: KProperty<UShort>, value: Int): Bson
@JvmName(name = "ubytebitwiseAnd")
fun bitwiseAnd(property: KProperty<UByte>, value: Int): Bson
fun <T : Number?> bitwiseAnd(property: KProperty<T>, value: Int): Bson

Creates an update that performs a bitwise and between the given integer value and the integral value of the property.

Return

the update

Parameters

property

the property

value

the value


@JvmName(name = "ulongbitwiseAnd")
fun bitwiseAnd(property: KProperty<ULong>, value: Long): Bson
@JvmName(name = "uintbitwiseAnd")
fun bitwiseAnd(property: KProperty<UInt>, value: Long): Bson
@JvmName(name = "ushortbitwiseAnd")
fun bitwiseAnd(property: KProperty<UShort>, value: Long): Bson
@JvmName(name = "ubytebitwiseAnd")
fun bitwiseAnd(property: KProperty<UByte>, value: Long): Bson
fun <T : Number?> bitwiseAnd(property: KProperty<T>, value: Long): Bson

Creates an update that performs a bitwise and between the given long value and the integral value of the property.

Return

the update

Parameters

property

the property

value

the value