Skip to content

Commit

Permalink
doc(docs.topics.idioms): add notes
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredo-toledano committed Aug 25, 2024
1 parent 7c77389 commit 3e64e79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/topics/idioms.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[//]: # (title: Idioms)

A collection of random and frequently used idioms in Kotlin. If you have a favorite idiom, contribute it by sending a pull request.
* goal
* == collection of random and frequently used idioms | Kotlin

## Create DTOs (POJOs/POCOs)

Expand Down Expand Up @@ -84,6 +85,7 @@ when (x) {
```kotlin
val list = listOf("a", "b", "c")
```

## Read-only map

```kotlin
Expand Down

0 comments on commit 3e64e79

Please sign in to comment.