Added ifThenToSafeAccessIntention
This commit is contained in:
committed by
Zalim Bashorov
parent
1f720c8559
commit
3862a3b5bc
@@ -0,0 +1 @@
|
||||
val result = maybeSomething?.perform(something)
|
||||
@@ -0,0 +1 @@
|
||||
val result = if (maybeSomething != null) maybeSomething.perform(something) else null
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
Converts an if-then expression to an expression that uses a safe-access operator (if applicable)
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user