kotlin-stdlib

Kotlin Standard Library

The Kotlin Standard Library provides living essentials for everyday work with Kotlin. These include:

  • Higher-order functions implementing idiomatic patterns (let, apply, kotlin.io.use, kotlin.synchronized, etc).

  • Extension functions providing querying operations for collections (eager) and sequences (lazy).

  • Various utilities for working with strings and char sequences.

  • Extensions for JDK classes making it convenient to work with files, IO, and threading.

Kotlin Standard Library

The Kotlin Standard Library provides living essentials for everyday work with Kotlin. These include:

  • Higher-order functions implementing idiomatic patterns (let, apply, kotlin.io.use, synchronized, etc).

  • Extension functions providing querying operations for collections (eager) and sequences (lazy).

  • Various utilities for working with strings and char sequences.

  • Extensions for JDK classes making it convenient to work with files, IO, and threading.

Kotlin Standard Library

The Kotlin Standard Library provides living essentials for everyday work with Kotlin. These include:

  • Higher-order functions implementing idiomatic patterns (let, apply, use, synchronized, etc).

  • Extension functions providing querying operations for collections (eager) and sequences (lazy).

  • Various utilities for working with strings and char sequences.

  • Extensions for JDK classes making it convenient to work with files, IO, and threading.

Kotlin Standard Library

The Kotlin Standard Library provides living essentials for everyday work with Kotlin. These include:

  • Higher-order functions implementing idiomatic patterns (let, apply, kotlin.io.use, kotlin.synchronized, etc).

  • Extension functions providing querying operations for collections (eager) and sequences (lazy).

  • Various utilities for working with strings and char sequences.

  • Extensions for JDK classes making it convenient to work with files, IO, and threading.

Kotlin Standard Library

The Kotlin Standard Library provides living essentials for everyday work with Kotlin. These include:

  • Higher-order functions implementing idiomatic patterns (let, apply, kotlin.io.use, kotlin.synchronized, etc).

  • Extension functions providing querying operations for collections (eager) and sequences (lazy).

  • Various utilities for working with strings and char sequences.

  • Extensions for JDK classes making it convenient to work with files, IO, and threading.

Kotlin Standard Library

The Kotlin Standard Library provides living essentials for everyday work with Kotlin. These include:

  • Higher-order functions implementing idiomatic patterns (let, apply, kotlin.io.use, kotlin.synchronized, etc).

  • Extension functions providing querying operations for collections (eager) and sequences (lazy).

  • Various utilities for working with strings and char sequences.

  • Extensions for JDK classes making it convenient to work with files, IO, and threading.

Packages

Link copied to clipboard
Common
JS
Native

Core functions and types, available on all supported platforms.

Link copied to clipboard
Common
JS
Native

Library support for the Kotlin annotation facility.

Link copied to clipboard
JS

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

Link copied to clipboard
Common
JS
Native

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

Link copied to clipboard
Common
JS
Native
Link copied to clipboard
Common
Native

Utility functions for concurrent programming.

Link copied to clipboard
Common

Experimental DSL for declaring custom function contracts.

Link copied to clipboard
Common
Native

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

Link copied to clipboard
Common
JS
Native
Link copied to clipboard
Common
JS
Native

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

Link copied to clipboard
JS

Utility functions for working with the browser DOM.

Link copied to clipboard
Common
Link copied to clipboard
Common

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

Link copied to clipboard
Common
JS
Native

IO API for working with files and streams.

Link copied to clipboard
Common
Link copied to clipboard

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

Link copied to clipboard
Common
JS

Functions and other APIs specific to the JavaScript platform.

Link copied to clipboard
JS
Link copied to clipboard
Common
JS

Functions and annotations specific to the Java platform.

Link copied to clipboard

Convenience extension functions for java.util.Optional to simplify Kotlin-Java interop.

Link copied to clipboard
Common
JS
Native

Mathematical functions and constants.

Link copied to clipboard
Common
Native
Link copied to clipboard
Common
Native
Link copied to clipboard
Native
Link copied to clipboard
Native
Link copied to clipboard
Common

Standard implementations of delegates for delegated properties and helper functions for implementing custom delegates.

Link copied to clipboard
Common

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

Link copied to clipboard
Common

Ranges, Progressions and related top-level and extension functions.

Link copied to clipboard
Common
JS
Native

Runtime API for Kotlin reflection

Link copied to clipboard
Common

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

Link copied to clipboard

Utility functions for working with Java 8 streams.

Link copied to clipboard
Native

System-related utility functions.

Link copied to clipboard
Common
JS
Native

Functions for working with text and regular expressions.

Link copied to clipboard
Common
JS
Native

API for measuring time intervals and calculating durations.

Link copied to clipboard
Common

Multiplatform Uuid class and utility functions for working with UUIDs.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
JS
Link copied to clipboard
Native
Link copied to clipboard
Native
Link copied to clipboard
JS
Link copied to clipboard
Native
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the WebGL API.

Link copied to clipboard
JS
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the DOM API.

Link copied to clipboard
JS
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the DOM CSS API.

Link copied to clipboard
JS
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the DOM events API.

Link copied to clipboard
JS
Link copied to clipboard
JS
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the DOM parsing API.

Link copied to clipboard
JS
Link copied to clipboard
JS

Kotlin JavaScript wrappers for the DOM SVG API.

Link copied to clipboard
JS

Kotlin JavaScript wrappers for the DOM URL API.

Link copied to clipboard
JS

Kotlin JavaScript wrappers for the W3C fetch API.

Link copied to clipboard
JS

Kotlin JavaScript wrappers for the W3C file API.

Link copied to clipboard
JS

Kotlin JavaScript wrappers for the Web Notifications API.

Link copied to clipboard
JS

Kotlin JavaScript wrappers for the Navigation Timing API.

Link copied to clipboard
JS

Kotlin JavaScript wrappers for the Web Workers API.

Link copied to clipboard
JS

Kotlin JavaScript wrappers for the XMLHttpRequest API.

Index

All Types