Kotlin library reference
Learn everyday Kotlin library methods through shopping lists, ticket bookings, delivery dates, and other familiar tasks.
Math and money
Calculate a change in temperature, pack boxes, or round a bill.
61 guidesStrings and input
Clean up names, compare codes, and read quantities from a form.
33 guidesFiles and paths
Build a receipt path, save a note, or read a shopping list.
14 guidesErrors and exceptions
Handle invalid entries, missing records, and interrupted work. Follow each failure from the input that triggers it to a response the user can act on.
22 guidesLists and maps
Work with ordered lists and key-value lookups. Follow a pickup roster, change a booking, or combine stock counts from two deliveries.
31 guidesDates and time
Calculate a delivery date or count nights between bookings.
4 guidesMore library topics
Explore additional libraries and worked examples for this language.
2 guidesOfficial documentation
Kotlin packages across supported platforms
- kotlin
- kotlin.annotation
- kotlin.collections
- kotlin.comparisons
- kotlin.concurrent
- kotlin.concurrent.atomics
- kotlin.contracts
- kotlin.coroutines
- kotlin.coroutines.cancellation
- kotlin.coroutines.debug
- kotlin.coroutines.intrinsics
- kotlin.enums
- kotlin.experimental
- kotlin.io
- kotlin.io.encoding
- kotlin.io.path
- kotlin.js
- kotlin.js.collections
- kotlin.jvm
- kotlin.jvm.optionals
- kotlin.math
- kotlin.native
- kotlin.native.concurrent
- kotlin.native.ref
- kotlin.native.runtime
- kotlin.properties
- kotlin.random
- kotlin.ranges
- kotlin.reflect
- kotlin.sequences
- kotlin.streams
- kotlin.system
- kotlin.text
- kotlin.time
- kotlin.uuid
- kotlin.wasm
- kotlin.wasm.unsafe