// "Replace 'if' expression with elvis expression" "true" class Test { var x: Any? = null fun test() { val i = if (x is String) x.length else 0 } }