kotlin-stdlib

Packages

kotlin
Link copied to clipboard
Common
JS
Native

Core functions and types, available on all supported platforms.

kotlin.annotation
Link copied to clipboard
Common
JS
Native

Library support for the Kotlin annotation facility.

kotlin.browser
Link copied to clipboard
JS

Access to top-level properties (document, window etc.) in the browser environment.

kotlin.collections
Link copied to clipboard
Common
JS
Native

Collection types, such as Iterable, Collection, List, Set, Map and related top-level and extension functions.

kotlin.comparisons
Link copied to clipboard
Common
JS
Native
kotlin.concurrent
Link copied to clipboard

Utility functions for concurrent programming.

kotlin.contracts
Link copied to clipboard
Common

Experimental DSL for declaring custom function contracts.

kotlin.coroutines
Link copied to clipboard
Common
Native

Basic primitives for creating and suspending coroutines: Continuation, CoroutineContext interfaces, coroutine creation and suspension top-level functions.

kotlin.coroutines.cancellation
Link copied to clipboard
Common
JS
Native
kotlin.coroutines.intrinsics
Link copied to clipboard
Common
JS
Native

Low-level building blocks for libraries that provide coroutine-based APIs.

kotlin.dom
Link copied to clipboard
JS

Utility functions for working with the browser DOM.

kotlin.experimental
Link copied to clipboard
Common

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

kotlin.io
Link copied to clipboard
Common
JS
Native

IO API for working with files and streams.

kotlin.io.path
Link copied to clipboard

Convenient extensions for working with file system using java.nio.file.Path.

kotlin.js
Link copied to clipboard
Common
JS

Functions and other APIs specific to the JavaScript platform.

kotlin.jvm
Link copied to clipboard
Common
JS

Functions and annotations specific to the Java platform.

kotlin.math
Link copied to clipboard
Common
JS
Native

Mathematical functions and constants.

kotlin.native
Link copied to clipboard
Native
kotlin.native.concurrent
Link copied to clipboard
Common
Native
kotlin.native.ref
Link copied to clipboard
Native
kotlin.properties
Link copied to clipboard
Common

Standard implementations of delegates for /docs/reference/delegated-properties.html and helper functions for implementing custom delegates.

kotlin.random
Link copied to clipboard
Common

Provides the default generator of pseudo-random values, the repeatable generator, and a base class for other RNG implementations.

kotlin.ranges
Link copied to clipboard
Common
JS
Native

/docs/reference/ranges.html, Progressions and related top-level and extension functions.

kotlin.reflect
Link copied to clipboard
Common
JS
Native

Runtime API for /docs/reference/reflection.html

kotlin.reflect.full
Link copied to clipboard

Extensions for /docs/reference/reflection.html provided by kotlin-reflect library.

kotlin.reflect.jvm
Link copied to clipboard

Runtime API for interoperability between /docs/reference/reflection.html and Java reflection provided by kotlin-reflect library.

kotlin.sequences
Link copied to clipboard
Common

Sequence type that represents lazily evaluated collections. Top-level functions for instantiating sequences and extension functions for sequences.

kotlin.streams
Link copied to clipboard

Utility functions for working with Java 8 streams.

kotlin.system
Link copied to clipboard
Native

System-related utility functions.

kotlin.text
Link copied to clipboard
Common
JS
Native

Functions for working with text and regular expressions.

kotlin.time
Link copied to clipboard
Common
JS
Native

Experimental API for representing Duration values and measuring time intervals.

kotlinx.browser
Link copied to clipboard
JS
kotlinx.cinterop
Link copied to clipboard
Native
kotlinx.cinterop.internal
Link copied to clipboard
Native
kotlinx.dom
Link copied to clipboard
JS
kotlinx.wasm.jsinterop
Link copied to clipboard
Native
org.khronos.webgl
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the WebGL API.

org.w3c.css.masking
Link copied to clipboard
JS
org.w3c.dom
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the DOM API.

org.w3c.dom.clipboard
Link copied to clipboard
JS
org.w3c.dom.css
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the DOM CSS API.

org.w3c.dom.encryptedmedia
Link copied to clipboard
JS
org.w3c.dom.events
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the DOM events API.

org.w3c.dom.mediacapture
Link copied to clipboard
JS
org.w3c.dom.mediasource
Link copied to clipboard
JS
org.w3c.dom.parsing
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the DOM parsing API.

org.w3c.dom.pointerevents
Link copied to clipboard
JS
org.w3c.dom.svg
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the DOM SVG API.

org.w3c.dom.url
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the DOM URL API.

org.w3c.fetch
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the W3C fetch API.

org.w3c.files
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the W3C file API.

org.w3c.notifications
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the Web Notifications API.

org.w3c.performance
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the Navigation Timing API.

org.w3c.workers
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the Web Workers API.

org.w3c.xhr
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the XMLHttpRequest API.