Skip to content

Commit

Permalink
📝 Add current API reference
Browse files Browse the repository at this point in the history
  • Loading branch information
LVMVRQUXL committed Apr 14, 2024
1 parent 35b53a9 commit beb6170
Show file tree
Hide file tree
Showing 2,200 changed files with 206,311 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>head</title>
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
<script>var pathToRoot = "../../../";</script>
<script>const storage = localStorage.getItem("dokka-dark-mode")
if (storage == null) {
const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
if (osDarkSchemePreferred === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
} else {
const savedDarkMode = JSON.parse(storage)
if(savedDarkMode === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
}
</script>
<script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script>
<link href="../../../styles/style.css" rel="Stylesheet">
<link href="../../../styles/jetbrains-mono.css" rel="Stylesheet">
<link href="../../../styles/main.css" rel="Stylesheet">
<link href="../../../styles/prism.css" rel="Stylesheet">
<link href="../../../styles/logo-styles.css" rel="Stylesheet">
<script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/main.js" defer="defer"></script>
<script type="text/javascript" src="../../../scripts/prism.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/symbol-parameters-wrapper_deferred.js" defer="defer"></script>
<link href="../../../styles/multimodule.css" rel="Stylesheet">
<link href="../../../images/logo-icon.svg">
</head>
<body>
<div class="navigation-wrapper" id="navigation-wrapper">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<div class="library-name">
<a href="../../../index.html">
<span>Kotools Types</span>
</a>
</div>
<div>
<dokka-template-command data="{&quot;@class&quot;:&quot;org.jetbrains.dokka.base.templating.ReplaceVersionsCommand&quot;,&quot;location&quot;:&quot;-kotools -types/kotools.types.collection/-not-empty-collection/head.html&quot;}"><div class="versions-dropdown">
<div class="versions-dropdown-button">4.5.0</div>
<div class="versions-dropdown-data"><a href="head.html">4.5.0</a><a href="../../../older/4.4.2/-kotools -types/kotools.types.collection/-not-empty-collection/head.html">4.4.2</a><a href="../../../older/4.3.1/-kotools -types/kotools.types.collection/-not-empty-collection/head.html">4.3.1</a><a href="../../../older/4.3.0/-kotools -types/kotools.types.collection/-not-empty-collection/head.html">4.3.0</a><a href="../../../older/4.2.0/-kotools -types/kotools.types.collection/-not-empty-collection/head.html">4.2.0</a><a href="../../../older/4.1.0/-kotools -types/kotools.types.collection/-not-empty-collection/head.html">4.1.0</a><a href="../../../not-found-version.html?v=4.0.1">4.0.1</a><a href="../../../not-found-version.html?v=4.0.0">4.0.0</a><a href="../../../not-found-version.html?v=3.2.0">3.2.0</a><a href="../../../not-found-version.html?v=2.0.0">2.0.0</a><a href="../../../not-found-version.html?v=1.3.1">1.3.1</a></div>
</div>
</dokka-template-command> </div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section">
<button class="platform-tag platform-selector common-like" data-active="" data-filter=":dokkaHtml/commonMain">common</button>
</div>
<button id="theme-toggle-button"><span id="theme-toggle"></span></button>
<div id="searchBar"></div>
</div>
</div>
<div id="container">
<div id="leftColumn">
<div id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" data-page-type="member" id="content" pageIds="Kotools Types::kotools.types.collection/NotEmptyCollection/head/#/PointingToDeclaration//788909594">
<div class="breadcrumbs"><a href="../../../index.html">Kotools Types</a><span class="delimiter">/</span><a href="../index.html">kotools.types.collection</a><span class="delimiter">/</span><a href="index.html">NotEmptyCollection</a><span class="delimiter">/</span><span class="current">head</span></div>
<div class="cover ">
<h1 class="cover"><span><span>head</span></span></h1>
</div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword"></span><span class="token keyword">val </span><a href="head.html">head</a><span class="token operator">: </span><a href="index.html">E</a></div><p class="paragraph">The first element of this collection.</p><p class="paragraph">Here's a simple usage example:</p><div class="sample-container"><pre><code class="block lang-kotlin" theme="idea">val collection: NotEmptyCollection&lt;Int&gt; = notEmptyListOf(1, 2, 3)<br>val result: Int = collection.head<br>println(result) // 1</code></pre><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="footer">
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>Copyright (c) 2024 Kotools S.A.S.</span><span
class="pull-right"><span>Generated by </span><a
href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
</div>
</div>
</div>
</body>
</html>
Loading

0 comments on commit beb6170

Please sign in to comment.