https://kotlinlang.org logo
#detekt
Title
# detekt
p

Peter Mandeljc

02/15/2023, 3:01 PM
I'm wondering, is this a false positive for
UnnecessaryLet
?
Copy code
val x = getJavaDuration()
    .toHours()
    .let { ceil(it / 24.0) }
    .roundToLong()
22 Views