Reports unnecessary safe call operators (?.) that can be removed by the user.
val a: String = ""val b = a?.length
val a: String? = nullval b = a?.length
The content on this page is adapted from the Detekt Docs. Copyright ©2022 The Detekt Team. All rights reserved. https://detekt.dev/comments.html