Skip to content

Commit

Permalink
Update task.md
Browse files Browse the repository at this point in the history
language checked
  • Loading branch information
stephen-hero authored Dec 20, 2023
1 parent ffeb0eb commit d0efbf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AlmostDone/letScopeFunction/task.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
If you need to do several actions when working with a `nullable` value,
you can use safe call operator (`?.`) together with the [`let`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/let.html) scope function from the standard library:
If you need to perform several actions when working with a `nullable` value,
you can use the safe call operator (`?.`) together with the [`let`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/let.html) scope function from the standard library:
```kotlin
fun foo(x: String?): String {
x?.let {
Expand Down

0 comments on commit d0efbf7

Please sign in to comment.