Update README.md

This commit is contained in:
alex_s168
2024-03-28 21:28:41 +01:00
committed by GitHub
parent ceed3fd42a
commit bd60bf5b27

View File

@@ -80,7 +80,7 @@ val bytes = num.toBytes(Endian.LITTLE)
### Caching delegate property
```kotlin
class Label {
val font = "Arial 11"
var font = "Arial 11"
val fontWith by caching(::font) {
someFunctionToCalculate(it)
}