8 lines
166 B
Kotlin
Vendored
8 lines
166 B
Kotlin
Vendored
// "Replace 'if' expression with safe access expression" "true"
|
|
class Test {
|
|
var x: Any? = null
|
|
|
|
fun test() {
|
|
if (x is String) <caret>x.length
|
|
}
|
|
} |