• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<div class='api-docs-breadcrumbs'><a href="index.html">test</a> / <a href="./foo.html">foo</a></div>
2<h1>foo</h1>
3<div class="overload-group"><a name="$foo()"></a>
4<div class="signature"><code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div>
5<p>Groups elements of the original sequence by the key returned by the given <a href="#">keySelector</a> function
6applied to each element and returns a map where each group key is associated with a list of corresponding elements.</p>
7<div class="sample"><pre><code class="lang-kotlin">
8
9fun main(args: Array&lt;String&gt;) {
10//sampleStart
11if (true) {
12    println(property)
13}
14//sampleEnd
15}</code></pre></div>
16</div>
17<div class="overload-group"><a name="$foo(kotlin.Int)"></a>
18<div class="signature"><code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="parameterName" id="$foo(kotlin.Int)/i">i</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div>
19</div>
20