bitwiseXor

@JvmName(name = "bitwiseXorExt")
infix fun <T : Number?> KProperty<T>.bitwiseXor(value: Int): Bson

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

Return

the update

Parameters

value

the value


fun <T : Number?> bitwiseXor(property: KProperty<T>, value: Int): Bson

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

Return

the update

Parameters

property

the property

value

the value


@JvmName(name = "addToSetExt")
infix fun <T : Number?> KProperty<T>.bitwiseXor(value: Long): Bson

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

Return

the update

Parameters

value

the value


fun <T : Number?> bitwiseXor(property: KProperty<T>, value: Long): Bson

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

Return

the update

Parameters

property

the property

value

the value