Skip to content

Commit 7ff3529

Browse files
fix: make examples runnable
1 parent 54a114d commit 7ff3529

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

examples/05_stdlib/01_letFunction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ fun main() {
4141
3. Uses a null-safe call, so `let` and its code block are executed only on non-null values.
4242

4343
`let` can also be called on a result of another function execution:
44+
4445
<div class="language-kotlin" theme="idea" data-min-compiler-version="1.3">
4546

4647
```kotlin

examples/05_stdlib/03_filter.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# filter
22

33
*filter* function enables you to filter collections. It takes a filter predicate as a lambda-parameter. The predicate is applied to each element. Elements that make the predicate `true` are returned in the result collection.
4+
45
<div class="language-kotlin" theme="idea" data-min-compiler-version="1.3">
56

67
```kotlin

0 commit comments

Comments
 (0)