Package kotlin.experimental

Experimental APIs, subject to change in future versions of Kotlin.

Annotations

Common
JVM
JS
Native
1.9

ExperimentalNativeApi

This annotation marks the Kotlin/Native-only standard library API that is considered experimental and is not subject to the general compatibility guarantees given for the standard library: the behavior of such API may be changed or the API may be removed completely in any further release.

annotation class ExperimentalNativeApi
Common
JVM
JS
Native
1.8

ExperimentalObjCName

This annotation marks the experimental ObjCName annotation.

annotation class ExperimentalObjCName
Common
JVM
JS
Native
1.8

ExperimentalObjCRefinement

This annotation marks the experimental Objective-C export refinement annotations.

annotation class ExperimentalObjCRefinement
Common
JVM
JS
Native
1.3

ExperimentalTypeInference

The experimental marker for type inference augmenting annotations.

annotation class ExperimentalTypeInference

Functions

Common
JVM
JS
Native
1.1

and

Performs a bitwise AND operation between the two values.

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

inv

Inverts the bits in this value.

fun Byte.inv(): Byte
fun Short.inv(): Short
Common
JVM
JS
Native
1.1

or

Performs a bitwise OR operation between the two values.

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

xor

Performs a bitwise XOR operation between the two values.

infix fun Byte.xor(other: Byte): Byte
infix fun Short.xor(other: Short): Short