Added IfThenToDoubleBangIntention
This commit is contained in:
committed by
Zalim Bashorov
parent
8476a790bd
commit
aec5ae5dd4
@@ -0,0 +1 @@
|
||||
foo(maybeSomething!!)
|
||||
@@ -0,0 +1 @@
|
||||
foo(if (maybeSomething != null) maybeSomething else throw KotlinNullPointerException())
|
||||
@@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
Converts an if-then expression that checks if a value is null to an equivalent expression
|
||||
using the '!!' operator.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user