Skip to content

Commit 48806d0

Browse files
martin-schulteAlexanderPrendota
authored andcommitted
chore: added //sampleStart & //sampleEnd (Kotlin#76)
1 parent c61ea09 commit 48806d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/05_Collections/13_max.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@
77
```kotlin
88
fun main() {
99

10+
//sampleStart
1011
val numbers = listOf(1, 2, 3)
1112
val empty = emptyList<Int>()
1213

1314
println("Numbers: $numbers, min = ${numbers.min()} max = ${numbers.max()}") // 1
1415
println("Empty: $empty, min = ${empty.min()}, max = ${empty.max()}") // 2
16+
//sampleEnd
1517
}
1618
```
1719

0 commit comments

Comments
 (0)