kotlin-stdlib

All Types

Link copied to clipboard
Common

Provides a skeletal implementation of the read-only Collection interface.

Since Kotlin 1.1
Common

Base class for CoroutineContext.Element implementations.

Since Kotlin 1.3
Common

Base class for CoroutineContext.Key associated with polymorphic CoroutineContext.Element implementation. Polymorphic element implementation implies delegating its get and minusKey to getPolymorphicElement and minusPolymorphicKey respectively.

Since Kotlin 1.3
Link copied to clipboard
Common

An abstract class used to implement time sources that return their readings as Double values in the specified unit.

Since Kotlin 1.3
Link copied to clipboard
Common

A base class to simplify implementing iterators so that implementations only have to implement computeNext to implement the iterator, calling done when the iteration is complete.

Since Kotlin 1.0
Link copied to clipboard
Common

Provides a skeletal implementation of the read-only List interface.

Since Kotlin 1.1
Link copied to clipboard
Common

An abstract class used to implement time sources that return their readings as Long values in the specified unit.

Since Kotlin 1.9
Link copied to clipboard
Common

Provides a skeletal implementation of the read-only Map interface.

Since Kotlin 1.1
Common
JS
Native

Provides a skeletal implementation of the MutableCollection interface.

Since Kotlin 1.1
Link copied to clipboard
Common
JS
Native

Provides a skeletal implementation of the MutableList interface.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Provides a skeletal implementation of the MutableMap interface.

Since Kotlin 1.1
Link copied to clipboard
Common
JS
Native

Provides a skeletal implementation of the MutableSet interface.

Since Kotlin 1.1
Link copied to clipboard
Common

Provides a skeletal implementation of the read-only Set interface.

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript AbstractWorker to Kotlin

Since Kotlin 1.1
Link copied to clipboard

An exception class which is used when we have not enough access for some operation.

Since Kotlin 1.0
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Common
JS
Native

Base interface implicitly implemented by all annotation interfaces. See Kotlin language documentation for more information on annotations.

Since Kotlin 1.0
Link copied to clipboard
Common

Contains the list of possible annotation's retentions.

Since Kotlin 1.0
Link copied to clipboard
Common

Contains the list of code elements which are the possible annotation targets

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

The root of the Kotlin class hierarchy. Every Kotlin class has Any as a superclass.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

An object to which char sequences and values can be appended.

Since Kotlin 1.0
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Common
JS
Native
Since Kotlin 1.3
Link copied to clipboard

A generic array of objects. When targeting the JVM, instances of this class are represented as T[]. Array instances can be created using the arrayOf, arrayOfNulls and emptyArray standard library functions.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

A generic array of objects. When targeting the JVM, instances of this class are represented as T[]. Array instances can be created using the arrayOf, arrayOfNulls and emptyArray standard library functions.

Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript ArrayBuffer to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript ArrayBufferView to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Common

Resizable-array implementation of the deque data structure.

Since Kotlin 1.4
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Common
JS
Native

Provides a MutableList implementation, which uses a resizable array as its backing storage.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native
Since Kotlin 1.0
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Makes the annotated annotation class an associated object key.

Since Kotlin 1.1
Link copied to clipboard
Native

Makes the annotated annotation class an associated object key.

Since Kotlin 1.3
Link copied to clipboard

Makes the annotated annotation class an associated object key.

Since Kotlin 1.8
Link copied to clipboard

Makes the annotated annotation class an associated object key.

Since Kotlin 1.8
Link copied to clipboard
Native

An Array in which elements are always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Since Kotlin 1.9
Link copied to clipboard
Native

An Int value that is always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Since Kotlin 1.3
Link copied to clipboard
Native

An Int value that is always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Since Kotlin 1.9
Link copied to clipboard
Native

An IntArray in which elements are always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Since Kotlin 1.9
Link copied to clipboard
Native

A Long value that is always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Since Kotlin 1.3
Link copied to clipboard
Native

A Long value that is always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Since Kotlin 1.9
Link copied to clipboard
Native

An LongArray in which elements are always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Since Kotlin 1.9
Link copied to clipboard
Native

A kotlinx.cinterop.NativePtr value that is always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Since Kotlin 1.3
Link copied to clipboard
Native

A kotlinx.cinterop.NativePtr value that is always updated atomically. For additional details about atomicity guarantees for reads and writes see kotlin.concurrent.Volatile.

Since Kotlin 1.9
Link copied to clipboard
Native

An object reference that is always updated atomically.

Since Kotlin 1.3
Link copied to clipboard
Native

An object reference that is always updated atomically.

Since Kotlin 1.9
Link copied to clipboard
JS

Exposes the JavaScript Attr to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript AudioTrack to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript AudioTrackList to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Common
JS
Native

A resource that can be closed or released.

Since Kotlin 2.0
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Common

Provides Base64 encoding and decoding functionality. Base64 encoding, as defined by the RFC 4648 and a few other RFCs, transforms arbitrary binary data into a sequence of printable characters.

Since Kotlin 1.8
Link copied to clipboard
JS

Exposes the JavaScript BeforeUnloadEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Native

Marks Objective-C and Swift interoperability API as Beta.

Since Kotlin 1.3
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Native

A vector of bits growing if necessary and allowing one to set/clear/read bits from it by a bit index.

Since Kotlin 1.3
Link copied to clipboard
JS

Exposes the JavaScript Blob to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript Body to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Represents a value which is either true or false. On the JVM, non-nullable values of this type are represented as values of the primitive type boolean.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a value which is either true or false.

Since Kotlin 1.0
Link copied to clipboard

An array of booleans. When targeting the JVM, instances of this class are represented as boolean[].

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

An array of booleans. When targeting the JVM, instances of this class are represented as boolean[].

Since Kotlin 1.0
Link copied to clipboard
Common

An iterator over a sequence of values of type Boolean.

Since Kotlin 1.0
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript BroadcastChannel to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Common

Allows to infer generic type arguments of a function from the calls in the annotated function parameter of that function.

Since Kotlin 1.3
Link copied to clipboard

Represents a 8-bit signed integer. On the JVM, non-nullable values of this type are represented as values of the primitive type byte.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a 8-bit signed integer.

Since Kotlin 1.0
Link copied to clipboard

An array of bytes. When targeting the JVM, instances of this class are represented as byte[].

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

An array of bytes. When targeting the JVM, instances of this class are represented as byte[].

Since Kotlin 1.0
Link copied to clipboard
Common

An iterator over a sequence of values of type Byte.

Since Kotlin 1.0
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
JS

Exposes the JavaScript Cache to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CacheStorage to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Common

An effect of calling a functional parameter in place.

Since Kotlin 1.3
Common
JS
Native

Thrown by cancellable suspending functions if the coroutine is cancelled while it is suspended. It indicates normal cancellation of a coroutine.

Since Kotlin 1.4
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CanvasGradient to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CanvasPattern to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CanvasRenderingContext2D to Kotlin

Since Kotlin 1.1
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CaretPosition to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
JS

Exposes the JavaScript CDATASection to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Native
Since Kotlin 1.3
Native

Denotes property that is an alias to some enum entry.

Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Native

Stores instance size of the type T: CEnumVar.

Since Kotlin 1.3
Link copied to clipboard
Native

The C function.

Since Kotlin 1.3
Link copied to clipboard

Represents a 16-bit Unicode character. On the JVM, non-nullable values of this type are represented as values of the primitive type char.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a 16-bit Unicode character.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

The exception thrown when a character encoding or decoding error occurs.

Since Kotlin 1.3
Link copied to clipboard
JS

Exposes the JavaScript CharacterData to Kotlin

Since Kotlin 1.1
Link copied to clipboard

An array of chars. When targeting the JVM, instances of this class are represented as char[].

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

An array of chars. When targeting the JVM, instances of this class are represented as char[].

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents the character general category in the Unicode specification.

Since Kotlin 1.0
Link copied to clipboard

Represents the Unicode directionality of a character. Character directionality is used to calculate the visual ordering of text.

Since Kotlin 1.0
Link copied to clipboard
Common

An iterator over a sequence of values of type Char.

Since Kotlin 1.0
Link copied to clipboard
Common

A progression of values of type Char.

Since Kotlin 1.0
Link copied to clipboard
Common

A range of values of type Char.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a readable sequence of Char values.

Since Kotlin 1.0
Link copied to clipboard

Constant definitions for the standard charsets. These charsets are guaranteed to be available on every implementation of the Java platform.

Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript ChildNode to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Common
JS
Native
Since Kotlin 1.0
Link copied to clipboard
Native

The marker interface for objects that have a cleanup action associated with them.

Since Kotlin 1.9
Link copied to clipboard
JS

Exposes the JavaScript Client to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript Clients to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript Clipboard to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript ClipboardEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Since Kotlin 1.1
Link copied to clipboard
Common

Represents a range of floating point numbers. Extends ClosedRange interface providing custom operation lessThanOrEquals for comparing values of range domain type.

Since Kotlin 1.1
Link copied to clipboard
Common

Represents a range of values (for example, numbers or characters) where both the lower and upper bounds are included in the range. See the Kotlin language documentation for more information.

Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript CloseEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Common
Native

Makes top level function available from C/C++ code with the given name.

Since Kotlin 1.3
Link copied to clipboard
Common
JS
Native

A generic collection of elements. Methods in this interface support only read-only access to the collection; read/write access is supported through the MutableCollection interface.

Since Kotlin 1.0
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript Comment to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Common
JS
Native

Classes which inherit from this interface have a defined total ordering between their instances.

Since Kotlin 1.0
Link copied to clipboard
Common

A TimeMark that can be compared for difference with other time marks obtained from the same TimeSource.WithComparableMarks time source.

Since Kotlin 1.9
Link copied to clipboard
Common
JS
Native

Provides a comparison function for imposing a total ordering between instances of the type T.

Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript CompositionEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Common
JS
Native
Since Kotlin 1.0
Link copied to clipboard
Common

An effect of some condition being true after observing another effect of a function.

Since Kotlin 1.3
Link copied to clipboard
Common

In previous versions of Kotlin, the generated 'copy' method of a data class always had public visibility, even if the primary constructor was non-public. That exposed the non-public constructor of the data class.

Since Kotlin 2.0
Link copied to clipboard
JS

Exposes the console API to Kotlin.

Since Kotlin 1.1
Link copied to clipboard
Native

Collection of annotations that allow to store constant values.

Since Kotlin 1.3
JS
Since Kotlin 1.1

Exposes the JavaScript ConstrainBooleanParameters to Kotlin

Since Kotlin 1.1

Exposes the JavaScript ConstrainDOMStringParameters to Kotlin

Since Kotlin 1.1
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
JS
Since Kotlin 1.1
Link copied to clipboard
Common

Signifies that the annotated functional type has the prefix of size count for context receivers. Thus, @ContextFunctionTypeParams(2) @ExtensionFunctionType Function4<String, Int, Double, Byte, Unit> is a normalized representation of context(String, Int) Double.(Byte) -> Unit.

Since Kotlin 1.7
Link copied to clipboard
Common

Interface representing a continuation after a suspension point that returns a value of type T.

Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Common

Marks coroutine context element that intercepts coroutine continuations. The coroutines framework uses ContinuationInterceptor.Key to retrieve the interceptor and intercepts all coroutine continuations with interceptContinuation invocations.

Since Kotlin 1.3
Link copied to clipboard
Common

Provides a scope, where the functions of the contract DSL, such as returns, callsInPlace, etc., can be used to describe the contract of a function.

Since Kotlin 1.3
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Native

The CPointed without any specified interpretation.

Since Kotlin 1.3
Link copied to clipboard
Native

The pointer with an opaque type.

Since Kotlin 1.3
Link copied to clipboard
Native

The variable containing a COpaquePointer.

Since Kotlin 1.3
Link copied to clipboard

Context for the copyAction function passed to Path.copyToRecursively.

Since Kotlin 1.8
Link copied to clipboard

The result of the copyAction function passed to Path.copyToRecursively that specifies further actions when copying an entry.

Since Kotlin 1.8
Link copied to clipboard
Common

Persistent context for the coroutine. It is an indexed set of Element instances. An indexed set is a mix between a set and a map. Every element in this set has a unique Key.

Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native

C data or code.

Since Kotlin 1.3
Link copied to clipboard
Native

C pointer.

Since Kotlin 1.3
Link copied to clipboard
Native

The C data variable containing the pointer to T.

Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native

The C primitive-typed variable located in memory.

Since Kotlin 1.3
Link copied to clipboard
Native

Central Processor Unit architecture.

Since Kotlin 1.3
Link copied to clipboard
JS

Exposes the JavaScript CSS to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CSSGroupingRule to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CSSMediaRule to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CSSNamespaceRule to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CSSPageRule to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CSSRule to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CSSRuleList to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CSSStyleDeclaration to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CSSStyleRule to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CSSStyleSheet to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native

The C struct-typed variable located in memory.

Since Kotlin 1.3
Link copied to clipboard
JS

Exposes the JavaScript CustomElementRegistry to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript CustomEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Native

The single immutable C value. It is self-contained and doesn't depend on native memory.

Since Kotlin 1.3
Link copied to clipboard
Native

The (possibly empty) sequence of immutable C values. It is self-contained and doesn't depend on native memory.

Since Kotlin 1.3
Link copied to clipboard
Native

Represents a reference to (possibly empty) sequence of C values. It can be either a stable pointer CPointer or a sequence of immutable values CValues.

Since Kotlin 1.3
Link copied to clipboard
Native

The C data variable located in memory.

Since Kotlin 1.3
Link copied to clipboard
JS

Exposes the JavaScript DataTransfer to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DataTransferItem to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DataTransferItemList to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DataView to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the Date API to Kotlin.

Since Kotlin 1.1
Link copied to clipboard
Native

Note: this API is unstable and may change in any release.

Since Kotlin 1.9
Link copied to clipboard
JS

Exposes the JavaScript DedicatedWorkerGlobalScope to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Common

Defines deep recursive function that keeps its stack on the heap, which allows very deep recursive computations that do not use the actual call stack. To initiate a call to this deep recursive function use its invoke function. As a rule of thumb, it should be used if recursion goes deeper than a thousand calls.

Since Kotlin 1.7
Link copied to clipboard
Common

A scope class for DeepRecursiveFunction function declaration that defines callRecursive methods to recursively call this function or another DeepRecursiveFunction putting the call activation frame on the heap.

Since Kotlin 1.7
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Common

Standard property delegates.

Since Kotlin 1.0
Link copied to clipboard
Common

Marks the annotated declaration as deprecated.

Since Kotlin 1.0
Link copied to clipboard
Common

Marks the annotated declaration as deprecated. In contrast to Deprecated, severity of the reported diagnostic is not a constant value, but differs depending on the API version of the usage (the value of the -api-version argument when compiling the module where the usage is located). If the API version is greater or equal than hiddenSince, the declaration will not be accessible from the code (as if it was deprecated with level DeprecationLevel.HIDDEN), otherwise if the API version is greater or equal than errorSince, the usage will be marked as an error (as with DeprecationLevel.ERROR), otherwise if the API version is greater or equal than warningSince, the usage will be marked as a warning (as with DeprecationLevel.WARNING), otherwise the annotation is ignored.

Since Kotlin 1.4
Link copied to clipboard
Common

Possible levels of a deprecation. The level specifies how the deprecated element usages are reported in code.

Since Kotlin 1.0
Native

Detached object graph encapsulates transferrable detached subgraph which cannot be accessed externally, until it is attached with the attach extension function.

Since Kotlin 1.3
Link copied to clipboard
JS

Exposes the JavaScript Document to Kotlin

Since Kotlin 1.1
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DocumentFragment to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DocumentOrShadowRoot to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DocumentType to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DOMImplementation to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DOMMatrix to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DOMMatrixReadOnly to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DOMParser to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DOMPoint to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DOMPointInit to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DOMPointReadOnly to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DOMQuad to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DOMRect to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DOMRectReadOnly to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DOMStringMap to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript DOMTokenList to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Represents a double-precision 64-bit IEEE 754 floating point number. On the JVM, non-nullable values of this type are represented as values of the primitive type double.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a double-precision 64-bit IEEE 754 floating point number.

Since Kotlin 1.0
Link copied to clipboard

An array of doubles. When targeting the JVM, instances of this class are represented as double[].

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

An array of doubles. When targeting the JVM, instances of this class are represented as double[].

Since Kotlin 1.0
Link copied to clipboard
Common

An iterator over a sequence of values of type Double.

Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript DoubleRange to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
JS

Exposes the JavaScript DragEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Common

When applied to annotation class X specifies that X defines a DSL language

Since Kotlin 1.1
Link copied to clipboard
Common

Represents the amount of time one instant of time is away from another instant.

Since Kotlin 1.6
Link copied to clipboard
Common
JS
Native

The list of possible time measurement units, in which a duration can be expressed.

Since Kotlin 1.6
Link copied to clipboard

Represents universal type for JS interoperability.

Since Kotlin 1.8
Link copied to clipboard

Forces a top-level property to be initialized eagerly, opposed to lazily on the first access to file and/or property.

Since Kotlin 1.8
Link copied to clipboard

Forces a top-level property to be initialized eagerly, opposed to lazily on the first access to file and/or property.

Since Kotlin 1.8
Link copied to clipboard
JS

Forces a top-level property to be initialized eagerly, opposed to lazily on the first access to file and/or property.

Since Kotlin 1.6
Link copied to clipboard
Native

Forces a top-level property to be initialized eagerly, opposed to lazily on the first access to file and/or property. This annotation can be used as temporal migration assistance during the transition from the previous Kotlin/Native initialization scheme "eager by default" to the new one, "lazy by default".

Since Kotlin 1.3
Link copied to clipboard
Common

Represents an effect of a function invocation, either directly observable, such as the function returning normally, or a side-effect, such as the function's lambda parameter being called in place.

Since Kotlin 1.3
Link copied to clipboard
JS

Exposes the JavaScript Element to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Common

An empty coroutine context.

Since Kotlin 1.3
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard

The common base class of all enum classes. See the Kotlin language documentation for more information on enum classes.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

The common base class of all enum classes. See the Kotlin language documentation for more information on enum classes.

Since Kotlin 1.0
Link copied to clipboard
Common

A specialized immutable implementation of List interface that contains all enum entries of the specified enum type E. EnumEntries contains all enum entries in the order they are declared in the source code, consistently with the corresponding Enum.ordinal values.

Since Kotlin 1.9
Link copied to clipboard
Common
JS
Native
Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript ErrorEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript Event to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript EventListener to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript EventSource to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript EventTarget to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Common
JS
Native
Since Kotlin 1.0
JS

The experimental marker for associated objects API.

Since Kotlin 1.1
Native

The experimental marker for associated objects API.

Since Kotlin 1.3

The experimental marker for associated objects API.

Since Kotlin 1.8

The experimental marker for associated objects API.

Since Kotlin 1.8
Link copied to clipboard
Common

This marker distinguishes the experimental contract declaration API and is used to opt-in for that feature when declaring contracts of user functions.

Since Kotlin 1.3
Common

This annotation marks the experimental API for encoding and decoding between binary data and printable ASCII character sequences.

Since Kotlin 1.8
Link copied to clipboard
Native

Marks foreign-language-related API as experimental.

Since Kotlin 1.3
Link copied to clipboard
Common

This annotation marks the experimental JS-collections API that allows to manipulate with native JS-collections The API can be removed completely in any further release.

Since Kotlin 2.0
Link copied to clipboard
Common

Marks experimental JS export annotations.

Since Kotlin 1.4
Link copied to clipboard
Common

Marks experimental JsFileName annotation.

Since Kotlin 1.9
Common

This annotation marks the experimental Kotlin/JS reflection API that allows to create an instance of provided KClass The API can be removed completely in any further release.

Since Kotlin 1.9
Link copied to clipboard
Common

Marks the experimental JsStatic annotation.

Since Kotlin 2.0
Link copied to clipboard
Common

The experimental multiplatform support API marker.

Since Kotlin 1.0
Common

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.

Since Kotlin 1.9
Link copied to clipboard
Common

This annotation marks the experimental ObjCName annotation.

Since Kotlin 1.8
Common

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

Since Kotlin 1.8
Link copied to clipboard

This annotation marks the extensions and top-level functions for working with java.nio.file.Path considered experimental.

Since Kotlin 1.4
Link copied to clipboard
Common

This annotation marks the 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.

Since Kotlin 1.3
Link copied to clipboard
Common

This annotation marks the experimental preview of the language feature SubclassOptInRequired.

Since Kotlin 1.8
Link copied to clipboard
Common

This annotation marks the experimental preview of the standard library API for measuring time and working with durations.

Since Kotlin 1.3
Common

The experimental marker for type inference augmenting annotations.

Since Kotlin 1.3
Link copied to clipboard
Common

Marks the API that is dependent on the experimental unsigned types, including those types themselves.

Since Kotlin 1.0
Link copied to clipboard
Common

This annotation marks the experimental Kotlin Uuid API.

Since Kotlin 2.0
Link copied to clipboard
Native

Makes Kotlin subclass of Objective-C class visible for runtime lookup after Kotlin main function gets invoked.

Since Kotlin 1.3
Link copied to clipboard
Common

In previous versions of Kotlin, the generated 'copy' method of a data class always had public visibility, even if the primary constructor was non-public. That exposed the non-public constructor of the data class.

Since Kotlin 2.0
Link copied to clipboard
JS

Exposes the JavaScript ExtendableEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript ExtendableMessageEvent to Kotlin

Since Kotlin 1.1
JS
Since Kotlin 1.1
Link copied to clipboard
Common

Signifies that the annotated functional type represents an extension function.

Since Kotlin 1.0
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
JS

Exposes the JavaScript FetchEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript File to Kotlin

Since Kotlin 1.1
Link copied to clipboard

An exception class which is used when some file to create or copy to already exists.

Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript FileList to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript FileReader to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript FileReaderSync to Kotlin

Since Kotlin 1.1
Link copied to clipboard

A base exception class for file system exceptions.

Since Kotlin 1.0
Link copied to clipboard

This class is intended to implement different file traversal methods. It allows to iterate through all files inside a given directory.

Since Kotlin 1.0
Link copied to clipboard

The builder to provide implementation of the FileVisitor that fileVisitor function builds.

Since Kotlin 2.1
Link copied to clipboard

An enumeration to describe possible walk directions. There are two of them: beginning from parents, ending with children, and beginning from children, ending with parents. Both use depth-first search.

Since Kotlin 1.0
Link copied to clipboard

Represents a single-precision 32-bit IEEE 754 floating point number. On the JVM, non-nullable values of this type are represented as values of the primitive type float.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a single-precision 32-bit IEEE 754 floating point number.

Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript Float32Array to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript Float64Array to Kotlin

Since Kotlin 1.1
Link copied to clipboard

An array of floats. When targeting the JVM, instances of this class are represented as float[].

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

An array of floats. When targeting the JVM, instances of this class are represented as float[].

Since Kotlin 1.0
Link copied to clipboard
Common

An iterator over a sequence of values of type Float.

Since Kotlin 1.0
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
JS

Exposes the JavaScript FocusEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript FormData to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Native

This class was useful only with legacy memory manager. Please use AtomicReference instead.

Since Kotlin 1.3
Native

Exception thrown whenever freezing is not possible.

Since Kotlin 1.3
Link copied to clipboard
Common
Native

Freezing API has been deprecated since Kotlin 1.7.20, and support for the legacy memory manager was completely removed from the compiler in 1.9.20.

Since Kotlin 1.7
Link copied to clipboard
Common

Represents a value of a functional type, such as a lambda, an anonymous function or a function reference.

Since Kotlin 1.0
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Native

Class representing abstract computation, whose result may become available in the future.

Since Kotlin 1.3
Link copied to clipboard
Native

State of the future object.

Since Kotlin 1.3
Link copied to clipboard
Native

Note: this API is unstable and may change in any release.

Since Kotlin 1.9
Link copied to clipboard
Native

This class represents statistics about the single run of the garbage collector. It is supposed to be used for testing and debugging purposes only.

Since Kotlin 1.9
Link copied to clipboard
JS

Exposes the JavaScript GeometryUtils to Kotlin

Since Kotlin 1.1
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript GlobalEventHandlers to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Common

Represents a source of elements with a keyOf function, which can be applied to each element to get its key.

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HashChangeEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Common
JS
Native

Hash table based implementation of the MutableMap interface.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

The implementation of the MutableSet interface, backed by a InternalMap implementation.

Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript Headers to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Common

Represents hexadecimal format options for formatting and parsing byte arrays and integer numeric values, both signed and unsigned.

Since Kotlin 1.9
Link copied to clipboard
Common
Native

Instructs the Kotlin compiler to remove this class, function or property from the public Objective-C API.

Since Kotlin 1.8
Link copied to clipboard
Common
Native

Meta-annotation that instructs the Kotlin compiler to remove the annotated class, function or property from the public Objective-C API.

Since Kotlin 1.8
Link copied to clipboard
JS

Exposes the JavaScript History to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLAnchorElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLAreaElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLAudioElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLBaseElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLBodyElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLBRElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLButtonElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLCanvasElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLCollection to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLDataElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLDataListElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLDetailsElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLDialogElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLDivElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLDListElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLEmbedElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLFieldSetElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLFontElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLFormControlsCollection to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLFormElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLFrameSetElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLHeadElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLHeadingElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLHRElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLHtmlElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLHyperlinkElementUtils to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLIFrameElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLImageElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLInputElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLKeygenElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLLabelElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLLegendElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLLIElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLLinkElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLMapElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLMarqueeElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLMediaElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLMetaElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLMeterElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLModElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLObjectElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLOListElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLOptGroupElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLOptionElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLOptionsCollection to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLOutputElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLParagraphElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLParamElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLPictureElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLPreElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLProgressElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLQuoteElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLScriptElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLSelectElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLSlotElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLSourceElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLSpanElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLStyleElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLTableCaptionElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLTableCellElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLTableColElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLTableElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLTableRowElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLTableSectionElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLTemplateElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLTextAreaElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLTimeElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLTitleElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLTrackElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLUListElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLUnknownElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript HTMLVideoElement to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Common
JS
Native
Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native
Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript Image to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript ImageBitmap to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript ImageBitmapRenderingContext to Kotlin

Since Kotlin 1.1
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript ImageData to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Native

An immutable compile-time array of bytes.

Since Kotlin 1.3
Common

This annotation marks Kotlin expect declarations that are implicitly actualized by Java.

Since Kotlin 1.9
Native

Exception thrown when top level variable is accessed from incorrect execution context.

Since Kotlin 1.3
Link copied to clipboard
Common

Data class representing a value from a collection or sequence, along with its index in that collection or sequence.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native
Since Kotlin 1.0
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript InputEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript InstallEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Represents a 32-bit signed integer. On the JVM, non-nullable values of this type are represented as values of the primitive type int.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a 32-bit signed integer.

Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript Int16Array to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript Int32Array to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript Int8Array to Kotlin

Since Kotlin 1.1
Link copied to clipboard

An array of ints. When targeting the JVM, instances of this class are represented as int[].

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

An array of ints. When targeting the JVM, instances of this class are represented as int[].

Since Kotlin 1.0
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Common

An iterator over a sequence of values of type Int.

Since Kotlin 1.0
Link copied to clipboard
Common

A progression of values of type Int.

Since Kotlin 1.0
Link copied to clipboard
Common

A range of values of type Int.

Since Kotlin 1.0
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Native

Exception thrown whenever we attempt to mutate frozen objects.

Since Kotlin 1.3
Link copied to clipboard
Common

Specifies how many times a function invokes its function parameter in place.

Since Kotlin 1.3
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Common
JS
Native

Classes that inherit from this interface can be represented as a sequence of elements that can be iterated over.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

An iterator over a collection or another entity that can be represented as a sequence of elements. Allows to sequentially access the elements.

Since Kotlin 1.0
Link copied to clipboard

Any JavaScript value except null or undefined

Since Kotlin 1.8
Link copied to clipboard

JavaScript Array

Since Kotlin 1.8
Link copied to clipboard
JS

Exposes the JavaScript Array to Kotlin.

Since Kotlin 2.0
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard

JavaScript primitive bigint

Since Kotlin 1.8
Link copied to clipboard

JavaScript primitive boolean

Since Kotlin 1.8
Link copied to clipboard
JS

Represents the constructor of a class. Instances of JsClass can be passed to JavaScript APIs that expect a constructor reference.

Since Kotlin 1.1
Link copied to clipboard

A wrapper for an exception thrown by a JavaScript code. All exceptions thrown by JS code are signalled to Wasm code as JsException.

Since Kotlin 1.8
Link copied to clipboard
Common
JS

Exports top-level declaration on JS platform.

Since Kotlin 1.3
Link copied to clipboard
JS

When placed on a function parameter, requires the type of the passed argument to be external.

Since Kotlin 1.9
Link copied to clipboard
JS

When placed on an external interface or class, requires all its child interfaces, classes, and objects to be external as well.

Since Kotlin 1.9
Link copied to clipboard
Common
JS

Specifies the name of the compiled file produced from the annotated source file instead of the default one.

Since Kotlin 1.9
Link copied to clipboard

Implements annotated function in JavaScript and automatically imports is to Wasm. code string must contain JS expression that evaluates to JS function with signature that matches annotated kotlin function

Since Kotlin 1.8
Link copied to clipboard
JS

Exposes the JavaScript Map to Kotlin.

Since Kotlin 2.0
Link copied to clipboard
JS

Denotes an external declaration that must be imported from native JavaScript library.

Since Kotlin 1.1
Link copied to clipboard

Denotes an external declaration that must be imported from JavaScript module.

Since Kotlin 1.8
Link copied to clipboard
Common
JS

Gives a declaration (a function, a property or a class) specific name in JavaScript.

Since Kotlin 1.0
Link copied to clipboard
JS

Denotes an external declaration that can be used without module system.

Since Kotlin 1.1
Link copied to clipboard

JavaScript primitive number

Since Kotlin 1.8
Link copied to clipboard
JS

An interface for indexing access to a collection of key-value pairs, where type of key is String and type of value is Any?.

Since Kotlin 1.1
Link copied to clipboard
JS

Exposes the JavaScript JSON object to Kotlin.

Since Kotlin 1.1
Link copied to clipboard
JS

Adds prefix to external declarations in a source file.

Since Kotlin 1.1
Link copied to clipboard

Adds prefix to external declarations in a source file.

Since Kotlin 1.8
Link copied to clipboard
JS

Exposes the TypeScript ReadonlyArray to Kotlin.

Since Kotlin 2.0
Link copied to clipboard
JS

Exposes the TypeScript ReadonlyMap to Kotlin.

Since Kotlin 2.0
Link copied to clipboard
JS

Exposes the TypeScript ReadonlySet to Kotlin.

Since Kotlin 2.0
Link copied to clipboard

JavaScript value that can serve as a reference for any Kotlin value.

Since Kotlin 1.8
Link copied to clipboard
JS

Exposes the JavaScript Set to Kotlin.

Since Kotlin 2.0
Link copied to clipboard
Common
JS

Specifies that an additional static method is generated from the annotated companion object member if it's a function. If the member is a property, additional static getter/setter methods are generated.

Since Kotlin 2.0
Link copied to clipboard

JavaScript primitive string

Since Kotlin 1.8
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard

Specifies that a JVM default method should be generated for non-abstract Kotlin interface member.

Since Kotlin 1.2
Link copied to clipboard

Forces the compiler to generate compatibility accessors for the annotated interface in the DefaultImpls class. Please note that if an interface is annotated with this annotation for binary compatibility, public derived Kotlin interfaces should also be annotated with it, because their DefaultImpls methods will be used to access implementations from the DefaultImpls class of the original interface.

Since Kotlin 1.6

Prevents the compiler from generating compatibility accessors for the annotated class or interface, and suppresses any related compatibility warnings. In other words, this annotation makes the compiler generate the annotated class or interface in the -Xjvm-default=all mode, where only JVM default methods are generated, without DefaultImpls.

Since Kotlin 1.4
Link copied to clipboard
Common

Instructs the Kotlin compiler not to generate getters/setters for this property and expose it as a field.

Since Kotlin 1.0
Link copied to clipboard
Common

Specifies that given value class is inline class.

Since Kotlin 1.5
Link copied to clipboard
Common

Instructs the Kotlin compiler to generate a multifile class with top-level functions and properties declared in this file as one of its parts. Name of the corresponding multifile class is provided by the JvmName annotation.

Since Kotlin 1.0
Link copied to clipboard
Common

Specifies the name for the Java class or method which is generated from this element.

Since Kotlin 1.0
Link copied to clipboard
Common

Instructs the Kotlin compiler to generate overloads for this function that substitute default parameter values.

Since Kotlin 1.0
Link copied to clipboard
Common

Instructs compiler to mark the class as a record and generate relevant toString/equals/hashCode methods

Since Kotlin 1.5
Link copied to clipboard

Makes the annotation class repeatable in Java and Kotlin. A repeatable annotation can be applied more than once on the same element.

Since Kotlin 1.6
Link copied to clipboard
Common

Makes the annotated lambda function implement java.io.Serializable, generates a pretty toString implementation and adds reflection metadata.

Since Kotlin 1.8
Link copied to clipboard
Common

Specifies that an additional static method needs to be generated from this element if it's a function. If this element is a property, additional static getter/setter methods should be generated.

Since Kotlin 1.0
Link copied to clipboard
Common

Instructs compiler to generate or omit wildcards for type arguments corresponding to parameters with declaration-site variance, for example such as Collection<out T> has.

Since Kotlin 1.0
Link copied to clipboard
Common

Sets ACC_SYNTHETIC flag on the annotated target in the Java bytecode.

Since Kotlin 1.0
Link copied to clipboard
Common

Instructs compiler to generate wildcard for annotated type arguments corresponding to parameters with declaration-site variance.

Since Kotlin 1.0
Link copied to clipboard

Represents an annotated element and allows to obtain its annotations. See the Kotlin language documentation for more information.

Since Kotlin 1.0
Link copied to clipboard
Native

Represents an annotated element and allows to obtain its annotations. See the Kotlin language documentation for more information.

Since Kotlin 1.3
Link copied to clipboard
Common
JS
Native

Represents a callable entity, such as a function or a property.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a class and provides introspection capabilities. Instances of this class are obtainable by the ::class syntax. See the Kotlin language documentation for more information.

Since Kotlin 1.0
Link copied to clipboard
Common

A classifier is either a class or a type parameter.

Since Kotlin 1.1
Link copied to clipboard

Represents an entity which may contain declarations of any other entities, such as a class or a package.

Since Kotlin 1.0
Link copied to clipboard
Native

Represents an entity which may contain declarations of any other entities, such as a class or a package.

Since Kotlin 1.3
Link copied to clipboard
JS

Exposes the JavaScript KeyboardEvent to Kotlin

Since Kotlin 1.1
Link copied to clipboard
JS
Since Kotlin 1.1
Link copied to clipboard
Common
JS
Native

Represents a function with introspection capabilities.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a property declared as a var.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a var-property without any kind of receiver.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a var-property, operations on which take one receiver as a parameter.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a var-property, operations on which take two receivers as parameters.

Since Kotlin 1.0
Link copied to clipboard
Common

Represents a version of the Kotlin standard library.

Since Kotlin 1.1
Link copied to clipboard

Represents a parameter passed to a function or a property getter/setter, including this and extension receiver parameters.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a property, such as a named val or var declaration. Instances of this class are obtainable by the :: operator.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a property without any kind of receiver. Such property is either originally declared in a receiverless context such as a package, or has the receiver bound to it.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a property, operations on which take one receiver as a parameter.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a property, operations on which take two receivers as parameters, such as an extension property declared in a class.

Since Kotlin 1.0
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Common
JS
Native

Represents a type. Type is usually either a class with optional type arguments, or a type parameter of some declaration, plus nullability.

Since Kotlin 1.0
Link copied to clipboard
Common

Represents a declaration of a type parameter of a class or a callable. See the Kotlin language documentation for more information.

Since Kotlin 1.1
Link copied to clipboard
Common

Represents a type projection. Type projection is usually the argument to another type in a type usage. For example, in the type Array<out Number>, out Number is the covariant projection of the type represented by the class Number.

Since Kotlin 1.1
Link copied to clipboard
Common

Represents variance applied to a type parameter on the declaration site (declaration-site variance), or to a type in a projection (use-site variance).

Since Kotlin 1.1
Link copied to clipboard

Visibility is an aspect of a Kotlin declaration regulating where that declaration is accessible in the source code. Visibility can be changed with one of the following modifiers: public, protected, internal, private.

Since Kotlin 1.1
Link copied to clipboard
Common

Represents a value with lazy initialization.

Since Kotlin 1.0
Link copied to clipboard
Common

Specifies how a Lazy instance synchronizes initialization and publication among multiple threads. On platforms with no notion of synchronization and threads (JS and WASM), all modes are considered equal to the default implementation.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Hash table based implementation of the MutableMap interface, which additionally preserves the insertion order of entries during the iteration.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

The implementation of the MutableSet interface, backed by a InternalMap implementation.

Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript LinkStyle to Kotlin

Since Kotlin 1.1
Link copied to clipboard
Common
JS
Native

A generic ordered collection of elements. Methods in this interface support only read-only access to the list; read/write access is supported through the MutableList interface.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

An iterator over a collection that supports indexed access.

Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript Location to Kotlin

Since Kotlin 1.1
Link copied to clipboard

Represents a 64-bit signed integer. On the JVM, non-nullable values of this type are represented as values of the primitive type long.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a 64-bit signed integer.

Since Kotlin 1.0
Link copied to clipboard

An array of longs. When targeting the JVM, instances of this class are represented as long[].

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

An array of longs. When targeting the JVM, instances of this class are represented as long[].

Since Kotlin 1.0
Link copied to clipboard
Common

An iterator over a sequence of values of type Long.

Since Kotlin 1.0
Link copied to clipboard
Common

A progression of values of type Long.

Since Kotlin 1.0
Link copied to clipboard
Common

A range of values of type Long.

Since Kotlin 1.0
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Common
JS
Native

A collection that holds pairs of objects (keys and values) and supports efficiently retrieving the value corresponding to each key. Map keys are unique; the map holds only one value for each key. Methods in this interface support only read-only access to the map; read-write access is supported through the MutableMap interface.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents the results from a single capturing group within a MatchResult of Regex.

Since Kotlin 1.0
Link copied to clipboard
Common

Represents a collection of captured groups in a single match of a regular expression.

Since Kotlin 1.0
Link copied to clipboard
Common

Extends MatchGroupCollection by introducing a way to get matched groups by name, when regex supports it.

Since Kotlin 1.1
Link copied to clipboard
Common

Represents the results from a single regular expression match.

Since Kotlin 1.0