Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierSegoviaCordoba authored Aug 20, 2024
1 parent 5c0a320 commit efae848
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,6 @@ val house2: House = house.copy {
}
```

### `update`

`update` is a lambda that allows updating the value of the property while having access to the
current value.

```kotlin
val house2: House = house.copy {
kitchen.cat.name.update { name -> "$name Jr." }
}
```

### `updateEach`

`updateEach` is a lambda that allows updating the values of an `Iterable` while having access to the
Expand Down

0 comments on commit efae848

Please sign in to comment.