Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Oct 22, 2024
2 parents 8a16e34 + e282964 commit 2b6acef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ Box(
)
```

![preview](https://github.com/user-attachments/assets/99d73a48-2e8e-4e99-b553-2c7e57382bfd)

### WhatIf

`WhatIf` is a Kotlin expression that triggers a lambda expression (`whatIf` block) when the provided boolean condition is true and the object is non-null. It's a concise way to handle conditional logic without needing verbose if-else statements, enabling cleaner, more readable code for specific actions when conditions are met.
Expand Down

0 comments on commit 2b6acef

Please sign in to comment.