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

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

Since Kotlin 1.0
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
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
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

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
Common
JS
Native

A generic array of objects in which elements may be updated atomically.

Since Kotlin 2.1
Link copied to clipboard
Common
JS
Native

A Boolean value that may be updated atomically.

Since Kotlin 2.1
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
Common
JS
Native

An Int value that may be updated atomically.

Since Kotlin 2.1
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
Common
JS
Native

An array of ints in which elements may be updated atomically.

Since Kotlin 2.1
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
Common
JS
Native

A Long value that may be updated atomically.

Since Kotlin 2.1
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
Common
JS
Native

An array of longs in which elements may be updated atomically.

Since Kotlin 2.1
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
Native

A kotlinx.cinterop.NativePtr that may be updated atomically.

Since Kotlin 2.1
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
Common
JS
Native

An object reference that may be updated atomically.

Since Kotlin 2.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
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
Native

Marks Objective-C and Swift interoperability API as Beta.

Since Kotlin 1.3
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

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
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
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
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
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

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
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
Common

A source of Instant values.

Since Kotlin 2.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
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
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
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
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
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

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
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
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 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
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

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
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
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
Common

An empty coroutine context.

Since Kotlin 1.3
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
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
Common

This annotation marks the experimental Kotlin Atomics API.

Since Kotlin 2.1
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
Common

Signifies that the annotated functional type represents an extension function.

Since Kotlin 1.0
Link copied to clipboard
Native
Since Kotlin 1.3
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

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

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
Native
Since Kotlin 1.3
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
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
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
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
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
Common
JS
Native
Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native
Since Kotlin 1.0
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
Common

A moment in time.

Since Kotlin 2.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

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

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
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
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

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
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
Link copied to clipboard

WebAssembly linear memory allocator.

Since Kotlin 1.8
Link copied to clipboard

WebAssembly linear memory allocator.

Since Kotlin 1.8
Link copied to clipboard
Native

Memory model.

Since Kotlin 1.3
Link copied to clipboard
Native

This class represents statistics of memory usage in one memory pool.

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

This annotation is present on any class file produced by the Kotlin compiler and is read by the compiler and reflection. Parameters have very short JVM names on purpose: these names appear in all generated class files, and we'd like to reduce their size.

Since Kotlin 1.3
Link copied to clipboard
Common

This meta-annotation determines that an annotation is a part of public API and therefore should be included in the generated documentation for the element to which the annotation is applied.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

A generic collection of elements that supports adding and removing elements.

Since Kotlin 1.0
Link copied to clipboard
Native

Mutable concurrently accessible data buffer. Could be accessed from several workers simultaneously.

Since Kotlin 1.3
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 and that supports removing elements during iteration.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

An iterator over a mutable collection. Provides the ability to remove elements while iterating.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

A generic ordered collection of elements that supports adding and removing elements.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

An iterator over a mutable collection that supports indexed access. Provides the ability to add, modify and remove elements while iterating.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

A modifiable 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.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

A generic unordered collection of elements that does not support duplicate elements, and supports adding and removing elements.

Since Kotlin 1.0
Link copied to clipboard
Native
Since Kotlin 1.3
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
Native
Since Kotlin 1.3
Link copied to clipboard
Native

The entity which has an associated native pointer. Subtypes are supposed to represent interpretations of the pointed data or code.

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

This annotation marks the Kotlin/Native standard library API that tweaks or otherwise accesses the Kotlin runtime behavior.

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

Forbids inlining of this function/property with the dedicated K/N inliner. Note: this has nothing to do with the inline keyword, it's a separate inlining phase meant for optimizations. The function/property still could be inlined by LLVM though.

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

An exception class which is used when file to copy does not exist.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Nothing has no instances. You can use Nothing to represent "a value that never exists": for example, if a function has the return type of Nothing, it means that it never returns (always throws an exception).

Since Kotlin 1.0
Link copied to clipboard
Common

An exception is thrown to indicate that a method body remains to be implemented.

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

Superclass for all platform classes representing numeric values.

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

Makes Kotlin method in Objective-C class accessible through Objective-C dispatch to be used as action sent by control in UIKit or AppKit.

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
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
Native

Instructs the Kotlin compiler to use a custom Objective-C and/or Swift name for this class, property, parameter or function.

Since Kotlin 1.8
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
Native
Since Kotlin 1.3
Link copied to clipboard
Native
Since Kotlin 1.3
Link copied to clipboard
Native

Makes Kotlin property in Objective-C class settable through Objective-C dispatch to be used as IB outlet.

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

Marks functions for which Objective-C rules should be used for determinating whether two functions are conflicting.

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

Implements the core logic of a property delegate for a read/write property that calls callback functions when changed.

Since Kotlin 1.0
Link copied to clipboard
Native

This annotation marks the Kotlin/Native standard library API that is considered obsolete and is being phased out.

Since Kotlin 1.9
Native

Marks all Worker-related API as obsolete.

Since Kotlin 1.9

Marks all Worker-related API as obsolete.

Since Kotlin 1.9

Marks all Worker-related API as obsolete.

Since Kotlin 1.9
Link copied to clipboard

Enum that can be used to specify behaviour of the copyRecursively() function in exceptional conditions.

Since Kotlin 1.0
Link copied to clipboard

The result of the onError function passed to Path.copyToRecursively that specifies further actions when an exception occurs.

Since Kotlin 1.8
Link copied to clipboard
Common

Represents a range of values (for example, numbers or characters) where the upper bound is not included in the range. See the Kotlin language documentation for more information.

Since Kotlin 1.9
Link copied to clipboard
Common

Allows to use the API denoted by the given markers in the annotated file, declaration, or expression. If a declaration is annotated with OptIn, its usages are not required to opt in to that API.

Since Kotlin 1.3
Link copied to clipboard
Common

Marks an expected annotation class that it isn't required to have actual counterparts in all platforms.

Since Kotlin 1.0
Link copied to clipboard
Native

Operating system family.

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

Enables overload selection based on the type of the value returned from lambda argument.

Since Kotlin 1.4
Link copied to clipboard
Common

Represents a generic pair of two values.

Since Kotlin 1.0
Link copied to clipboard
Common

Annotates type arguments of functional type and holds corresponding parameter name specified by the user in type declaration (if any).

Since Kotlin 1.1
Link copied to clipboard

An enumeration to provide walk options for the Path.walk function. The options can be combined to form the desired walk order and behavior.

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

Object describing the current platform program executes upon.

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

Linear memory pointer type. Corresponds to i32 type on 32-bit Wasm architecture.

Since Kotlin 1.8
Link copied to clipboard

Linear memory pointer type. Corresponds to i32 type on 32-bit Wasm architecture.

Since Kotlin 1.8
Link copied to clipboard
JS

Exposes the JavaScript Promise object to Kotlin.

Since Kotlin 1.1
Link copied to clipboard

Exposes the JavaScript Promise object to Kotlin.

Since Kotlin 1.8
Common

Base interface that can be used for implementing property delegate providers.

Since Kotlin 1.4
Link copied to clipboard
Common

When applied to a class or a member with internal visibility allows using it from public inline functions and makes it effectively public.

Since Kotlin 1.1
Link copied to clipboard

Instructs the Kotlin compiler to treat annotated Java class as pure implementation of given Kotlin interface. "Pure" means here that each type parameter of class becomes non-platform type argument of that interface.

Since Kotlin 1.0
Link copied to clipboard
Common

An abstract class that is implemented by random number generator algorithms.

Since Kotlin 1.3
Link copied to clipboard
Common
JS
Native

Marker interface indicating that the List implementation supports fast indexed access.

Since Kotlin 1.0
Link copied to clipboard
Common

Base interface that can be used for implementing property delegates of read-only properties.

Since Kotlin 1.0
Link copied to clipboard
Common

Base interface that can be used for implementing property delegates of read-write properties.

Since Kotlin 1.0
Link copied to clipboard
Common
Native

Meta-annotation that instructs the Kotlin compiler to mark the annotated function or property as swift_private in the generated Objective-C API.

Since Kotlin 1.8
Link copied to clipboard
Common
JS
Native

Represents a compiled regular expression. Provides functions to match strings in text with a pattern, replace the found occurrences and split text around matches.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Provides enumeration values to use to set regular expression options.

Since Kotlin 1.0
Link copied to clipboard
JS

Exposes the JavaScript RegExp object to Kotlin.

Since Kotlin 1.1
Link copied to clipboard
JS

Represents the return value of RegExp.exec.

Since Kotlin 1.1
Link copied to clipboard
Common

This meta-annotation determines that an annotation is applicable twice or more on a single code element

Since Kotlin 1.0
Link copied to clipboard
Common

Specifies a code fragment that can be used to replace a deprecated function, property or class. Tools such as IDEs can automatically apply the replacements specified through this annotation.

Since Kotlin 1.0
Native

Typealias describing custom exception reporting hook.

Since Kotlin 1.3
Link copied to clipboard
Common

Signals that the annotated annotation class is a marker of an API that requires an explicit opt-in.

Since Kotlin 1.3
Link copied to clipboard
Common

Classes and interfaces marked with this annotation are restricted when used as receivers for extension suspend functions. These suspend extensions can only invoke other member or extension suspend functions on this particular receiver and are restricted from calling arbitrary suspension functions.

Since Kotlin 1.3
Link copied to clipboard
Common

A discriminated union that encapsulates a successful outcome with a value of type T or a failure with an arbitrary Throwable exception.

Since Kotlin 1.3
Link copied to clipboard
Common

This meta-annotation determines whether an annotation is stored in binary output and visible for reflection. By default, both are true.

Since Kotlin 1.0
Link copied to clipboard
Common

Describes a situation when a function returns normally with a given return value.

Since Kotlin 1.3
Link copied to clipboard
Common

Describes a situation when a function returns normally with any non-null return value.

Since Kotlin 1.3
Link copied to clipboard
Native

This class represents statistics of the root set for garbage collector run, separated by root set pools. These nodes are assumed to be used, even if there are no references for them.

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

A sequence that returns values through its iterator. The values are evaluated lazily, and the sequence is potentially infinite.

Since Kotlin 1.0
Link copied to clipboard
Common

The scope for yielding values of a Sequence or an Iterator, provides yield and yieldAll suspension functions.

Since Kotlin 1.3
Link copied to clipboard
Common
JS
Native

A generic unordered collection of elements that does not support duplicate elements. Methods in this interface support only read-only access to the set; read/write access is supported through the MutableSet interface.

Since Kotlin 1.0
Link copied to clipboard
Common
Native

This annotation has no effect, and its usages can be safely dropped.

Since Kotlin 1.0
Link copied to clipboard

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

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

Represents a 16-bit signed integer.

Since Kotlin 1.0
Link copied to clipboard

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

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

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

Since Kotlin 1.0
Link copied to clipboard
Common

An iterator over a sequence of values of type Short.

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
Common
Native

Instructs the Kotlin compiler to mark this function or property as swift_private in the generated Objective-C API.

Since Kotlin 1.8
Link copied to clipboard
Common

An effect that can be observed after a function invocation.

Since Kotlin 1.3
Link copied to clipboard
Common

Specifies the first version of Kotlin where a declaration has appeared. Using the declaration and specifying an older API version (via the -api-version command line option) will result in an error.

Since Kotlin 1.0
Link copied to clipboard
Native

This class provides a way to create a stable handle to any Kotlin object. After converting to CPointer it can be safely passed to native code e.g. to be received in a Kotlin callback.

Since Kotlin 1.3
Link copied to clipboard
Common

Marks the JVM method generated from the annotated function as strictfp, meaning that the precision of floating point operations performed inside the method needs to be restricted in order to achieve better portability.

Since Kotlin 1.0
Link copied to clipboard

The String class represents character strings. All string literals in Kotlin programs, such as "abc", are implemented as instances of this class.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

The String class represents character strings. All string literals in Kotlin programs, such as "abc", are implemented as instances of this class.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

A mutable sequence of characters.

Since Kotlin 1.0
Link copied to clipboard
Common

Annotation that marks open for subclassing classes and interfaces, and makes implementation and extension of such declarations as requiring an explicit opt-in.

Since Kotlin 2.1
Link copied to clipboard
Common

Suppresses the given compilation warnings in the annotated element.

Since Kotlin 1.0
Link copied to clipboard
Native

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

Since Kotlin 1.3
Link copied to clipboard
Native

This class represents statistics of sweeping in one memory pool.

Since Kotlin 1.9
Link copied to clipboard
Native

This is a dangerous deprecated and internal annotation. Please avoid using it.

Since Kotlin 1.3
Link copied to clipboard
Common
JS

Marks the JVM method generated from the annotated function as synchronized, meaning that the method will be protected from concurrent execution by multiple threads by the monitor of the instance (or, for static methods, the class) on which the method is defined.

Since Kotlin 1.0
Link copied to clipboard
Common

This meta-annotation indicates the kinds of code elements which are possible targets of an annotation.

Since Kotlin 1.0
Link copied to clipboard
Common

A time source that has programmatically updatable readings. It is useful as a predictable source of time in tests.

Since Kotlin 1.9
Link copied to clipboard
Common
Native

Marks a top level property with a backing field or an object as thread local. The object remains mutable and it is possible to change its state, but every thread will have a distinct copy of this object, so changes in one thread are not reflected in another.

Since Kotlin 1.0
Link copied to clipboard

The base class for all errors and exceptions. Only instances of this class can be thrown or caught.

Since Kotlin 1.0
Link copied to clipboard
Common
JS
Native

The base class for all errors and exceptions. Only instances of this class can be thrown or caught.

Since Kotlin 1.0
Link copied to clipboard
Common
Native

This annotation indicates what exceptions should be declared by a function when compiled to a platform method in Kotlin/JVM and Kotlin/Native.

Since Kotlin 1.4
Link copied to clipboard

This annotation indicates what exceptions should be declared by a function when compiled to a JVM method.

Since Kotlin 1.0
Link copied to clipboard
Common

Data class representing a result of executing an action, along with the duration of the elapsed time interval.

Since Kotlin 1.9
Link copied to clipboard
Common

Represents a time point notched on a particular TimeSource. Remains bound to the time source it was taken from and allows querying for the duration of time elapsed from that point (see the function elapsedNow).

Since Kotlin 1.9
Link copied to clipboard
Common

A source of time for measuring time intervals.

Since Kotlin 1.9
Link copied to clipboard
Native

Note: modern Kotlin/Native memory manager allows to share objects between threads without additional ceremonies, so TransferMode has effect only in legacy memory manager.

Since Kotlin 1.3
Link copied to clipboard
Common

Marks the backing field of the annotated property with the transient modifier on the JVM platform, meaning that it is not a part of the serialized form of the object when serialized with java.io.Serializable machinery.

Since Kotlin 1.0
Link copied to clipboard
Common

Represents a triad of values

Since Kotlin 1.0
Link copied to clipboard
Common

Defines names for Unicode symbols used in proper Typography.

Since Kotlin 1.0
Link copied to clipboard
Common
Since Kotlin 1.5
Link copied to clipboard
Common
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
Since Kotlin 1.5
Link copied to clipboard
Common
Since Kotlin 1.3
Link copied to clipboard
Common

A progression of values of type UInt.

Since Kotlin 1.5
Link copied to clipboard
Common

A range of values of type UInt.

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

A progression of values of type ULong.

Since Kotlin 1.5
Link copied to clipboard
Common

A range of values of type ULong.

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

The type with only one value: the Unit object. This type corresponds to the void type in Java.

Since Kotlin 1.0
Link copied to clipboard
Native

Marker for declarations that depend on numeric types of different bit width on at least two platforms.

Since Kotlin 1.3
Link copied to clipboard
Common

Suppresses errors about variance conflict

Since Kotlin 1.0
Link copied to clipboard

This annotation marks APIs for working with unmanaged WebAssembly linear memory.

Since Kotlin 1.8
Link copied to clipboard

This annotation marks APIs for working with unmanaged WebAssembly linear memory.

Since Kotlin 1.8
Link copied to clipboard
Common
JS
Native
Since Kotlin 1.0
Link copied to clipboard
Common
Since Kotlin 1.5
Link copied to clipboard
Common
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

Represents a Universally Unique Identifier (UUID), also known as a Globally Unique Identifier (GUID).

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

Marks the JVM backing field of the annotated var property as volatile, meaning that reads and writes to this field are atomic and writes are always made visible to other threads. If another thread reads the value of this field (e.g. through its accessor), it sees not only that value, but all side effects that led to writing that value.

Since Kotlin 1.0
Link copied to clipboard
Common
Native

Marks the backing field of the annotated var property as volatile, meaning that reads and writes to this field are atomic and writes are always made visible to other threads. If another thread reads the value of this field (e.g. through its accessor), it sees not only that value, but all side effects that led to writing that value.

Since Kotlin 1.9
Link copied to clipboard

Exports a function with the given optional name. The declaration name will be used if the name argument is not provided.

Since Kotlin 1.8
Link copied to clipboard

Exports a function with the given optional name. The declaration name will be used if the name argument is not provided.

Since Kotlin 1.8
Link copied to clipboard

Imports a function from the given module with the given optional name. The declaration name will be used if the name argument is not provided.

Since Kotlin 1.8
Link copied to clipboard

Imports a function from the given module with the given optional name. The declaration name will be used if the name argument is not provided.

Since Kotlin 1.8
Link copied to clipboard
Native

Class WeakReference encapsulates weak reference to an object, which could be used to either retrieve a strong reference to an object, or return null, if object was already destroyed by the memory manager.

Since Kotlin 1.3
Link copied to clipboard
Native

Class representing a worker.

Since Kotlin 1.3
Native

A shared reference to a Kotlin object that doesn't freeze the referred object when it gets frozen itself.

Since Kotlin 1.3