← Docs
kotlin-stdlib / kotlin.experimental / xor

xor

Common
JVM
JS
Native
1.1
infix fun Byte . xor ( other : Byte ) : Byte
(source)
infix fun Short . xor ( other : Short ) : Short
(source)

Performs a bitwise XOR operation between the two values.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .