CINXE.COM
Kotlin Programming Language
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><link rel="icon" href="/assets/images/favicon.svg?v2" type="image/svg+xml"/><link rel="alternate icon" href="/assets/images/favicon.ico?v2" type="image/x-icon"/><link rel="apple-touch-icon" sizes="57x57" href="/assets/images/apple-touch-icon.png?v2"/><link rel="apple-touch-icon" sizes="72x72" href="/assets/images/apple-touch-icon-72x72.png?v2"/><link rel="apple-touch-icon" sizes="114x114" href="/assets/images/apple-touch-icon-114x114.png?v2"/><link rel="apple-touch-icon" sizes="144x144" href="/assets/images/apple-touch-icon-144x144.png?v2"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Kotlin Programming Language</title><meta property="og:title" content="Kotlin Programming Language"/><meta property="og:type" content="website"/><meta property="og:url" content="https://kotlinlang.org/404"/><meta property="og:image" content="https://kotlinlang.org/assets/images/open-graph/general.png"/><meta property="og:description" content="Kotlin is a programming language that makes coding concise, cross-platform, and fun. It is Google’s preferred language for Android app development."/><meta name="description" content="Kotlin is a programming language that makes coding concise, cross-platform, and fun. It is Google’s preferred language for Android app development."/><meta property="og:site_name" content="Kotlin"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:site" content="@kotlin"/><meta name="twitter:title" content="Kotlin Programming Language"/><meta name="twitter:description" content="Kotlin is a programming language that makes coding concise, cross-platform, and fun. It is Google’s preferred language for Android app development."/><meta name="twitter:image:src" content="https://kotlinlang.org/assets/images/open-graph/general.png"/><link rel="preconnect" href="https://fonts.googleapis.com"/><meta name="next-head-count" content="18"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/d784f7161f400b6d.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/d784f7161f400b6d.css" crossorigin="" data-n-g=""/><link rel="preload" href="/_next/static/css/4f7c0a748648906a.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/4f7c0a748648906a.css" crossorigin="" data-n-p=""/><link rel="preload" href="/_next/static/css/6e3046675a1a747c.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/6e3046675a1a747c.css" crossorigin="" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-1f713985e36a1ae6.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-467b11a89995b152.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-fa221102ace79229.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-685bde21d80a93a3.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/969-f681d53b78f772f1.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/664-5d17be2dcae08a50.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/404-8c63951fa3bf92a4.js" defer="" crossorigin=""></script><script src="/_next/static/FfygjFJCZmXXw8dKlFkqz/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/FfygjFJCZmXXw8dKlFkqz/_ssgManifest.js" defer="" crossorigin=""></script><style data-href="https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap">@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/jetbrainsmono/v20/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKxjPg.woff) format('woff')}@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/jetbrainsmono/v20/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKxTN1OTk6OThhvAWV8.woff) format('woff');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/jetbrainsmono/v20/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKxTPlOTk6OThhvAWV8.woff) format('woff');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/jetbrainsmono/v20/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKxTOVOTk6OThhvAWV8.woff) format('woff');unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/jetbrainsmono/v20/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKxTNVOTk6OThhvAWV8.woff) format('woff');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/jetbrainsmono/v20/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKxTNFOTk6OThhvAWV8.woff) format('woff');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/jetbrainsmono/v20/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKxTOlOTk6OThhvA.woff) format('woff');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}</style></head><body class=""><div id="__next"><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5P98" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><div class="layout_wrapper__8bogK"><div class="sticky-header_stickyHeader__8qmss"><header class="ktl-header-module_header-menu_wh71L ktl-header-module_border_paN11 ktl-header-module_darkHeader_YLF76" data-test="header"><div class="ktl-logo-large-module_container_35w4p rs-text-3 rs-text-3_hardness_average rs-text-3_theme_dark"><a class="ktl-logo-large-module_link_AOGas" href="https://kotlinlang.org" aria-label="Kotlin Home Page"><svg width="98" height="22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M43.314 1.067h-4.031L30.5 10.422V1.098H27.27v20.273H30.5v-9.82l8.814 9.82h4.177l-9.397-10.484 9.22-9.82Z" fill="#fff"></path><path d="M54.303 7.186c-1.153-.66-2.45-.994-3.901-.994-1.478 0-2.803.33-3.973.994a7.042 7.042 0 0 0-2.735 2.758c-.65 1.179-.976 2.515-.976 4.01 0 1.494.325 2.835.972 4.01a6.967 6.967 0 0 0 2.716 2.758c1.166.659 2.486.993 3.964.993 1.46 0 2.766-.33 3.923-.993a6.941 6.941 0 0 0 2.694-2.759c.642-1.178.963-2.515.963-4.01 0-1.494-.32-2.83-.963-4.009a6.949 6.949 0 0 0-2.684-2.758Zm-.204 9.328c-.357.74-.859 1.314-1.505 1.73-.646.415-1.392.622-2.233.622-.85 0-1.604-.207-2.26-.623a4.184 4.184 0 0 1-1.528-1.73c-.361-.74-.542-1.589-.542-2.555 0-.966.185-1.815.551-2.555a4.177 4.177 0 0 1 1.537-1.73c.656-.415 1.415-.623 2.278-.623.832 0 1.573.208 2.22.623a4.125 4.125 0 0 1 1.5 1.73c.353.74.529 1.59.529 2.555-.009.962-.19 1.815-.547 2.556ZM64.555 2.836h-3.132v2.52c0 .397-.095.695-.29.889-.194.198-.492.298-.899.298h-1.537v2.664h2.667v7.978c0 .83.167 1.562.506 2.194a3.591 3.591 0 0 0 1.442 1.472c.624.348 1.36.52 2.21.52h2.391v-2.782h-1.798c-.466 0-.841-.163-1.13-.483-.29-.325-.434-.75-.434-1.282V9.207h3.448V6.543h-3.448V2.836h.004ZM73.68.286h-3.186V21.37h3.187V.286ZM80.498.312H77.28v3.273h3.218V.312ZM80.466 6.544H77.28V21.37h3.186V6.544ZM96.67 8.99a4.969 4.969 0 0 0-1.899-2.054c-.818-.492-1.772-.74-2.866-.74-1.161 0-2.178.284-3.05.848-.697.447-1.257 1.052-1.7 1.797l-.018-2.298H84.09V21.37h3.191v-8.298c0-.8.154-1.513.457-2.136a3.39 3.39 0 0 1 1.293-1.45c.556-.342 1.202-.514 1.948-.514.669 0 1.238.14 1.717.42.48.28.841.682 1.085 1.201.249.52.37 1.142.37 1.87v8.907h3.192v-9.355c0-1.138-.226-2.149-.674-3.025Z" fill="#fff"></path><path d="M20 21H0V1h20L9.793 10.855 20 21Z" fill="url(#kotlin-logo-large_svg__a)"></path><defs><radialGradient id="kotlin-logo-large_svg__a" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(19.335 1.822) scale(22.9097)"><stop offset="0.003" stop-color="#EF4857"></stop><stop offset="0.469" stop-color="#D211EC"></stop><stop offset="1" stop-color="#7F52FF"></stop></radialGradient></defs></svg></a><a class="ktl-logo-large-module_version-tag_k12Hw" href="https://github.com/JetBrains/kotlin/releases/tag/v2.0.21" target="_blank">v2.0.21</a></div><nav class="ktl-horizontal-menu-module_nav_gbA7M ktl-horizontal-menu-module_dark-theme_gfxx6"><ul class="ktl-horizontal-menu-module_menu-list_TJnOF"><li class="ktl-horizontal-menu-module_menu-item-wrap_j6zB-"><span class="ktl-horizontal-menu-module_menu-item_CXDEW rs-text-2 rs-text-2_theme_dark">Solutions</span><ul class="ktl-horizontal-menu-module_dropdown-menu_jwdWI rs-text-2 rs-text-2_theme_dark"><li><a class="ktl-horizontal-menu-module_dropdown-menu-item_9gjwH" href="/lp/mobile/">Multiplatform</a></li><li><a class="ktl-horizontal-menu-module_dropdown-menu-item_9gjwH" href="/lp/server-side/">Server-side</a></li><li><a class="ktl-horizontal-menu-module_dropdown-menu-item_9gjwH" href="/docs/data-science-overview.html">Data science</a></li><li><a class="ktl-horizontal-menu-module_dropdown-menu-item_9gjwH" href="/docs/android-overview.html">Android</a></li></ul></li><li class="ktl-horizontal-menu-module_menu-item-wrap_j6zB-"><a href="/docs/home.html" class="ktl-horizontal-menu-module_menu-item_CXDEW rs-text-2 rs-text-2_theme_dark">Docs</a></li><li class="ktl-horizontal-menu-module_menu-item-wrap_j6zB-"><a href="/community/" class="ktl-horizontal-menu-module_menu-item_CXDEW rs-text-2 rs-text-2_theme_dark">Community</a></li><li class="ktl-horizontal-menu-module_menu-item-wrap_j6zB-"><a href="/education/" class="ktl-horizontal-menu-module_menu-item_CXDEW rs-text-2 rs-text-2_theme_dark">Teach</a></li><li class="ktl-horizontal-menu-module_menu-item-wrap_j6zB-"><span class="ktl-horizontal-menu-module_menu-item_CXDEW rs-text-2 rs-text-2_theme_dark">Play</span><ul class="ktl-horizontal-menu-module_dropdown-menu_jwdWI rs-text-2 rs-text-2_theme_dark ktl-horizontal-menu-module_dropdown-menu-align-right_YeB-9"><li><a class="ktl-horizontal-menu-module_dropdown-menu-item_9gjwH" href="https://play.kotlinlang.org/">Playground</a></li><li><a class="ktl-horizontal-menu-module_dropdown-menu-item_9gjwH" href="https://play.kotlinlang.org/byExample">Examples</a></li><li><a class="ktl-horizontal-menu-module_dropdown-menu-item_9gjwH" href="https://play.kotlinlang.org/koans">Koans</a></li></ul></li></ul></nav><button type="button" class="ktl-search-button-module_button_YHJPv ktl-search-button-module_active_lUmdh" data-test="header-search-button" aria-label="Search"><svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.847 6.861A6.99 6.99 0 0 0 9.587 3a6.997 6.997 0 1 0 4.186 12.601l6.106 6.106 1.414-1.414-6.107-6.106a6.99 6.99 0 0 0 .66-7.326ZM14.587 10a5 5 0 1 1-10.001 0 5 5 0 0 1 10 0Z" fill="currentColor"></path></svg></button></header></div><div class="__404_wrapper__HrX6_"><img class="__404_image__1As0T" src="/_next/static/chunks/images/404-mascot-c373997a6f0da12f79e30124b1e1c034.svg" alt="404"/><h1 class="rs-h1 rs-h1_theme_light __404_heading__0hEQt">Page not found</h1><p class="rs-text-2 rs-text-2_hardness_hard rs-text-2_theme_light __404_subheading__pbO8J">Please use search or try<br class="__404_lineBreak__w8bID"/> starting from<!-- --> <a class="rs-link rs-link_hardness_hard rs-link_mode_classic rs-link_theme_light" href="/">home.</a></p></div><footer class="ktl-footer-module_footer_m67Up"><div class="ktl-layout ktl-layout--center"><div class="ktl-footer-module_social-list-area_bS3eE"><div class="rs-text-2 rs-text-2_theme_dark ktl-footer-module_social-list-title_HPzIP">Stay in touch:</div><div class="ktl-social-list-module_social-list_K2Nqu"><a data-test="button" target="_blank" title="Kotlin on GitHub" href="https://github.com/JetBrains/kotlin" type="button" class="_main_d4ewd2_17 _modeClear_d4ewd2_478 _sizeL_d4ewd2_106 _alignIconLeft_d4ewd2_77 _dark_d4ewd2_62 _withIcon_d4ewd2_144 _withoutText_d4ewd2_138 ktl-social-item-module_social-item_GpKEF undefined"><svg viewBox="0 0 24 24" class="_icon_1lgbkjk_3 _sizeM_1lgbkjk_17 _icon_d4ewd2_569"><path d="M9.32 20.698a.293.293 0 00.284-.042.31.31 0 00.119-.266v-1.75a3.86 3.86 0 01-1.91 0 1.858 1.858 0 01-1.207-1.234 1.74 1.74 0 00-.805-1.029 1.026 1.026 0 01-.503-.617s.1-.308.604-.206c.502.103.905.515 1.407 1.338a1.924 1.924 0 002.213.514c.002-.244.036-.485.1-.72.06-.245.202-.463.402-.617a3.863 3.863 0 01-3.921-3.497 4.262 4.262 0 01.905-3.6 2.885 2.885 0 01.2-2.469h.101c.842.09 1.642.41 2.313.926a8.086 8.086 0 014.425 0 7.19 7.19 0 012.413-.926 2.996 2.996 0 01.201 2.469 4.434 4.434 0 01.905 3.6 3.784 3.784 0 01-3.921 3.497 1.648 1.648 0 01.502 1.234v3.086a.404.404 0 00.247.382c.05.02.102.03.156.03a9.17 9.17 0 006.435-8.846 9.102 9.102 0 00-9-9.155 9.103 9.103 0 00-9 9.155 9.05 9.05 0 006.336 8.742z"></path></svg></a><a data-test="button" target="_blank" title="Kotlin on Twitter" href="https://twitter.com/kotlin" type="button" class="_main_d4ewd2_17 _modeClear_d4ewd2_478 _sizeL_d4ewd2_106 _alignIconLeft_d4ewd2_77 _dark_d4ewd2_62 _withIcon_d4ewd2_144 _withoutText_d4ewd2_138 ktl-social-item-module_social-item_GpKEF undefined"><svg viewBox="0 0 24 24" class="_icon_1lgbkjk_3 _sizeM_1lgbkjk_17 _icon_d4ewd2_569"><path d="M17.09 4h2.715l-5.93 6.777L20.851 20H15.39l-4.278-5.593L6.216 20H3.5l6.342-7.25L3.15 4h5.601l3.867 5.113L17.091 4zm-.952 14.375h1.504L7.934 5.54H6.32l9.818 12.836z"></path></svg></a><a data-test="button" target="_blank" title="Kotlin Slack" href="https://surveys.jetbrains.com/s3/kotlin-slack-sign-up" type="button" class="_main_d4ewd2_17 _modeClear_d4ewd2_478 _sizeL_d4ewd2_106 _alignIconLeft_d4ewd2_77 _dark_d4ewd2_62 _withIcon_d4ewd2_144 _withoutText_d4ewd2_138 ktl-social-item-module_social-item_GpKEF undefined"><svg viewBox="0 0 24 24" class="_icon_1lgbkjk_3 _sizeM_1lgbkjk_17 _icon_d4ewd2_569"><path d="M9.586 6.601h1.9v-1.9a1.837 1.837 0 00-1.9-1.9 1.9 1.9 0 000 3.8zm1.9 7.6v4.7a1.837 1.837 0 01-1.9 1.9 1.9 1.9 0 01-1.9-1.9v-4.7a1.899 1.899 0 011.9-1.9 1.837 1.837 0 011.9 1.9zm-5.864 1.773a1.839 1.839 0 01-.737.127 1.9 1.9 0 010-3.8h1.9v1.9a1.839 1.839 0 01-1.163 1.773zm3.963-4.673h-4.7a1.9 1.9 0 010-3.8h4.7a1.838 1.838 0 011.9 1.9 1.9 1.9 0 01-1.9 1.9zm11.4-1.9a1.967 1.967 0 00-1.9-1.9 1.899 1.899 0 00-1.9 1.9v1.9h1.9a1.9 1.9 0 001.9-1.9zm-5.862 1.773a1.839 1.839 0 01-.738.127 1.9 1.9 0 01-1.9-1.9v-4.7a1.839 1.839 0 011.9-1.9 1.898 1.898 0 011.9 1.9v4.7a1.837 1.837 0 01-1.162 1.773zm-.738 9.628a1.839 1.839 0 001.9-1.9 1.9 1.9 0 00-1.9-1.9h-1.9v1.9a1.899 1.899 0 001.9 1.9zm4.7-4.7h-4.7a1.9 1.9 0 110-3.8h4.7a1.836 1.836 0 011.9 1.9 1.9 1.9 0 01-1.9 1.9z"></path></svg></a><a data-test="button" target="_blank" title="Kotlin on Reddit" href="https://www.reddit.com/r/Kotlin/" type="button" class="_main_d4ewd2_17 _modeClear_d4ewd2_478 _sizeL_d4ewd2_106 _alignIconLeft_d4ewd2_77 _dark_d4ewd2_62 _withIcon_d4ewd2_144 _withoutText_d4ewd2_138 ktl-social-item-module_social-item_GpKEF undefined"><svg viewBox="0 0 24 24" class="_icon_1lgbkjk_3 _sizeM_1lgbkjk_17 _icon_d4ewd2_569"><path d="M21.422 9.543a2.206 2.206 0 00-3.079-.03 10.914 10.914 0 00-5.877-1.87l1.007-4.708 3.27.7a1.564 1.564 0 003.128-.071 1.56 1.56 0 00-2.965-.683l-3.649-.773a.376.376 0 00-.397.16.343.343 0 00-.052.145l-1.115 5.248c-2.13.026-4.204.676-5.967 1.87A2.195 2.195 0 103.3 13.108a3.89 3.89 0 00-.053.665c0 3.378 3.935 6.127 8.788 6.127s8.789-2.732 8.789-6.127c0-.223-.018-.446-.054-.666a2.215 2.215 0 001.294-2.012v-.001a2.191 2.191 0 00-.642-1.551zm-14.42 3.115a1.563 1.563 0 113.127.002 1.563 1.563 0 01-3.126-.002zm8.753 4.151c-1.079 1.078-3.127 1.15-3.72 1.15-.612 0-2.66-.09-3.72-1.15a.4.4 0 010-.574.395.395 0 01.287-.122.393.393 0 01.288.122c.912.657 2.022.98 3.145.916a4.86 4.86 0 003.145-.917.405.405 0 01.576 0 .44.44 0 010 .575zm-.287-2.57a1.564 1.564 0 111.564-1.563 1.577 1.577 0 01-1.564 1.563z"></path></svg></a><a data-test="button" target="_blank" title="Kotlin on Stack Overflow" href="https://stackoverflow.com/questions/tagged/kotlin" type="button" class="_main_d4ewd2_17 _modeClear_d4ewd2_478 _sizeL_d4ewd2_106 _alignIconLeft_d4ewd2_77 _dark_d4ewd2_62 _withIcon_d4ewd2_144 _withoutText_d4ewd2_138 ktl-social-item-module_social-item_GpKEF undefined"><svg viewBox="0 0 24 24" class="_icon_1lgbkjk_3 _sizeM_1lgbkjk_17 _icon_d4ewd2_569"><path d="M15.642 15.56l-8.16-1.705.346-1.64 8.159 1.705-.345 1.64zm.474-2.072L8.562 9.97l.69-1.533 7.555 3.54-.69 1.511zm.95-1.9l-6.41-5.33 1.057-1.274 6.41 5.331-1.057 1.274zM13.461 3.3l1.339-.993L19.764 9l-1.338.993L13.461 3.3zm2.18 14.354H7.31v-1.662h8.332v1.662zm1.684-3.324v5.008H5.647V14.33H3.985V21h15.002v-6.67h-1.662z"></path></svg></a><a data-test="button" target="_blank" title="Kotlin on YouTube" href="https://www.youtube.com/channel/UCP7uiEZIqci43m22KDl0sNw" type="button" class="_main_d4ewd2_17 _modeClear_d4ewd2_478 _sizeL_d4ewd2_106 _alignIconLeft_d4ewd2_77 _dark_d4ewd2_62 _withIcon_d4ewd2_144 _withoutText_d4ewd2_138 ktl-social-item-module_social-item_GpKEF undefined"><svg viewBox="0 0 24 24" class="_icon_1lgbkjk_3 _sizeM_1lgbkjk_17 _icon_d4ewd2_569"><path d="M3.917 17.765a2.94 2.94 0 001.98.82c1.437.146 6.107.191 6.107.191s3.775-.006 6.289-.199a2.486 2.486 0 001.799-.812c.386-.568.63-1.22.714-1.901.112-1.03.172-2.065.18-3.101v-1.454a30.817 30.817 0 00-.18-3.1 4.32 4.32 0 00-.714-1.903 2.473 2.473 0 00-1.8-.81c-2.513-.195-6.284-.195-6.284-.195H12s-3.77 0-6.284.195a2.476 2.476 0 00-1.799.81 4.318 4.318 0 00-.714 1.903 30.782 30.782 0 00-.18 3.1v1.454c.008 1.036.068 2.07.18 3.1a4.31 4.31 0 00.714 1.902zM9.761 8.67l5.615 3.369-5.615 3.369V8.67z"></path></svg></a></div></div><nav><ul class="ktl-nav-list-module_nav-list_-k4np"><li class="ktl-nav-item-module_nav-item_isoyN rs-text-2 rs-text-2_theme_dark ktl-nav-item-module_nav-item-dark-theme_FijdH"><a href="https://kotlinlang.org/docs/contribute.html" title="Contributing to Kotlin" class="rs-link rs-link_hardness_hard rs-link_mode_clear rs-link_theme_dark">Contributing to Kotlin</a></li><li class="ktl-nav-item-module_nav-item_isoyN rs-text-2 rs-text-2_theme_dark ktl-nav-item-module_nav-item-dark-theme_FijdH"><a href="https://kotlinlang.org/docs/releases.html" title="Releases" class="rs-link rs-link_hardness_hard rs-link_mode_clear rs-link_theme_dark">Releases</a></li><li class="ktl-nav-item-module_nav-item_isoyN rs-text-2 rs-text-2_theme_dark ktl-nav-item-module_nav-item-dark-theme_FijdH"><a href="https://kotlinlang.org/assets/kotlin-media-kit.pdf" title="Press Kit" class="rs-link rs-link_hardness_hard rs-link_mode_clear rs-link_theme_dark">Press Kit</a></li><li class="ktl-nav-item-module_nav-item_isoyN rs-text-2 rs-text-2_theme_dark ktl-nav-item-module_nav-item-dark-theme_FijdH"><a href="https://kotlinlang.org/docs/security.html" title="Security" class="rs-link rs-link_hardness_hard rs-link_mode_clear rs-link_theme_dark">Security</a></li><li class="ktl-nav-item-module_nav-item_isoyN rs-text-2 rs-text-2_theme_dark ktl-nav-item-module_nav-item-dark-theme_FijdH"><a target="_blank" href="https://blog.jetbrains.com/kotlin/" title="Blog" class="rs-link rs-link_hardness_hard rs-link_mode_clear rs-link_theme_dark">Blog</a></li><li class="ktl-nav-item-module_nav-item_isoyN rs-text-2 rs-text-2_theme_dark ktl-nav-item-module_nav-item-dark-theme_FijdH"><a target="_blank" href="https://youtrack.jetbrains.com/issues/KT" title="Issue Tracker" class="rs-link rs-link_hardness_hard rs-link_mode_clear rs-link_theme_dark">Issue Tracker</a></li><li class="ktl-nav-item-module_nav-item_isoyN rs-text-2 rs-text-2_theme_dark ktl-nav-item-module_nav-item-dark-theme_FijdH"><a target="_blank" href="https://resources.jetbrains.com/storage/products/kotlin/docs/kotlin_logos.zip" title="Brand assets" class="rs-link rs-link_hardness_hard rs-link_mode_clear rs-link_theme_dark">Brand assets</a></li><li class="ktl-nav-item-module_nav-item_isoyN rs-text-2 rs-text-2_theme_dark ktl-nav-item-module_nav-item-dark-theme_FijdH"><a target="_blank" href="https://www.jetbrains.com/careers/jobs/#team=Kotlin" title="Careers" class="rs-link rs-link_hardness_hard rs-link_mode_clear rs-link_theme_dark">Careers</a></li><li class="ktl-nav-item-module_nav-item_isoyN rs-text-2 rs-text-2_theme_dark ktl-nav-item-module_nav-item-dark-theme_FijdH"><a target="_blank" href="https://www.jetbrainsmerchandise.com/brand/kotlin.html" title="Kotlin Merch" class="rs-link rs-link_hardness_hard rs-link_mode_clear rs-link_theme_dark">Kotlin Merch</a></li><li class="ktl-nav-item-module_nav-item_isoyN rs-text-2 rs-text-2_theme_dark ktl-nav-item-module_nav-item-dark-theme_FijdH"><a href="#opt-out" title="Opt-Out" class="rs-link rs-link_hardness_hard rs-link_mode_clear rs-link_theme_dark">Opt-Out</a></li></ul></nav><a href="https://jetbrains.com" target="_blank" class="ktl-footer-module_logo-area_SsNTa ktl-logo-module_link_bNecp" aria-label="jetbrains.com link" rel="noreferrer"><svg width="149" height="32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M43.242 20.293c0 .423-.09.797-.269 1.125a1.86 1.86 0 0 1-.756.762c-.33.18-.698.269-1.12.269H39V25.5h2.54c.955 0 1.812-.214 2.574-.642a4.679 4.679 0 0 0 1.792-1.773c.433-.752.652-1.598.652-2.544V10.509h-3.316v9.784Zm8.928-.911h6.946v-2.804H52.17v-3.181h7.678v-2.888h-10.91v14.987h11.124v-2.888H52.17v-3.226Zm8.932-5.9h4.442v12.01h3.316v-12.01h4.421v-2.973H61.097v2.977l.005-.005Zm23.512 4.5a3.94 3.94 0 0 0-.837-.323c.224-.065.438-.144.638-.244a3.18 3.18 0 0 0 1.29-1.195c.308-.513.467-1.1.467-1.768 0-.761-.209-1.444-.622-2.046-.413-.598-.996-1.066-1.743-1.404-.747-.334-1.603-.503-2.56-.503h-6.656v14.987h6.786c1.006 0 1.902-.174 2.694-.528.787-.353 1.4-.841 1.837-1.473.433-.628.653-1.345.653-2.151 0-.742-.17-1.405-.513-1.992a3.525 3.525 0 0 0-1.43-1.364l-.004.005Zm-6.802-4.959h2.943c.408 0 .767.075 1.08.22.314.144.558.353.732.627.175.269.264.587.264.95 0 .364-.09.708-.264.992a1.726 1.726 0 0 1-.732.652 2.41 2.41 0 0 1-1.08.229h-2.943v-3.675.005Zm5.069 9.067c-.19.284-.458.503-.802.658a2.908 2.908 0 0 1-1.195.229h-3.072v-3.844h3.072c.444 0 .837.084 1.185.249.344.164.618.393.807.692.19.299.289.637.289 1.02 0 .384-.095.712-.284.996Zm14.798-2.654c.831-.398 1.474-.96 1.932-1.683.458-.721.687-1.558.687-2.514 0-.956-.224-1.763-.672-2.48-.448-.716-1.086-1.27-1.907-1.662-.822-.394-1.773-.588-2.858-.588h-6.563v14.987h3.321V20.04h2.161l3.043 5.457h3.789l-3.426-5.86c.17-.06.339-.125.498-.2h-.005Zm-1.076-3.062a1.798 1.798 0 0 1-.791.722c-.344.17-.747.254-1.21.254h-2.988v-4.147h2.988c.463 0 .866.084 1.21.249.343.164.607.408.791.717.185.308.28.677.28 1.095 0 .418-.095.787-.28 1.1v.01ZM106.9 10.51l-5.352 14.987h3.371l1.06-3.306h5.557l1.135 3.306h3.306l-5.482-14.987H106.9Zm-.169 9.171 1.723-5.287.204-.961.204.96 1.842 5.288h-3.973Zm10.347 5.816h3.425V10.51h-3.425v14.987Zm15.51-4.85L126.14 10.51h-3.232v14.987h3.027V15.36l6.414 10.137h3.266V10.51h-3.027v10.137Zm15.763-1.678a4.466 4.466 0 0 0-1.364-1.568 4.95 4.95 0 0 0-2.011-.846l-2.55-.523c-.398-.095-.717-.26-.951-.498a1.228 1.228 0 0 1-.353-.891c0-.324.084-.603.259-.842.169-.239.413-.423.722-.558.308-.134.667-.199 1.075-.199.408 0 .777.07 1.091.21.313.139.557.333.731.587.175.254.264.538.264.861h3.321c-.019-.871-.263-1.643-.722-2.31-.458-.672-1.1-1.195-1.916-1.573-.817-.379-1.753-.568-2.799-.568-1.045 0-1.971.194-2.783.588-.812.393-1.449.936-1.902 1.633-.453.697-.682 1.488-.682 2.38 0 .722.144 1.374.438 1.951a3.954 3.954 0 0 0 1.24 1.45 4.906 4.906 0 0 0 1.862.801l2.699.558c.443.104.791.299 1.05.577.259.28.384.623.384 1.041 0 .334-.095.637-.284.901a1.826 1.826 0 0 1-.792.613c-.338.144-.737.214-1.195.214-.458 0-.891-.08-1.265-.24a1.94 1.94 0 0 1-.866-.686 1.72 1.72 0 0 1-.309-1.021h-3.321c.015.936.264 1.757.757 2.474.488.712 1.16 1.27 2.017 1.668.856.399 1.837.598 2.942.598 1.106 0 2.101-.204 2.958-.612.861-.409 1.528-.971 2.011-1.688.483-.717.722-1.529.722-2.435a4.4 4.4 0 0 0-.488-2.052l.01.005Z" fill="#fff"></path><path d="m10.17 1.83-8.34 8.34A6.252 6.252 0 0 0 0 14.59V29.5A2.5 2.5 0 0 0 2.5 32h14.91a6.26 6.26 0 0 0 4.42-1.83l8.34-8.34A6.252 6.252 0 0 0 32 17.41V2.5A2.5 2.5 0 0 0 29.5 0H14.59a6.26 6.26 0 0 0-4.42 1.83Z" fill="url(#jetbrains-logo_svg__a)"></path><path d="M24 8H4v20h20V8Z" fill="#000"></path><path d="M15 23.5H6.5v2H15v-2Z" fill="#fff"></path><defs><linearGradient id="jetbrains-logo_svg__a" x1="0.425" y1="31.36" x2="31.31" y2="0.905" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9419"></stop><stop offset="0.43" stop-color="#FF021D"></stop><stop offset="0.99" stop-color="#E600FF"></stop></linearGradient></defs></svg></a><div class="rs-text-3 rs-text-3_hardness_hard rs-text-3_theme_dark ktl-footer-module_text-area_flccc"><div>Supported and developed by <a class="rs-link rs-link_hardness_hard rs-link_mode_classic rs-link_theme_dark" href="https://www.jetbrains.com/" target="_blank">JetBrains</a>.</div><div class="ktl-footer-module_copyright_XjtgY">Kotlin™ is protected under the<!-- --> <a class="rs-link rs-link_hardness_hard rs-link_mode_classic rs-link_theme_dark" href="https://kotlinlang.org/foundation/kotlin-foundation.html">Kotlin Foundation</a> <br class="ktl-footer-module_copyrightBreakLine_0hI7E"/>and licensed under the<!-- --> <a class="rs-link rs-link_hardness_hard rs-link_mode_classic rs-link_theme_dark" target="_blank" href="https://github.com/JetBrains/kotlin-web-site/blob/master/LICENSE" rel="noreferrer">Apache 2 license</a>.</div></div></div></footer></div></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{}},"page":"/404","query":{},"buildId":"FfygjFJCZmXXw8dKlFkqz","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>