Files
kotlin-fork/idea/resources-en/inspectionDescriptions/ReplaceGuardClauseWithFunctionCall.html
T
Dmitry Gridin 0df5d5158d Add resources-en for idea
#KT-38297 Fixed
2020-05-19 16:22:06 +07:00

11 lines
290 B
HTML

<html>
<body>
This inspection reports guard clause that can be replaced with kotlin's function call. For example:
<br /><br />
<pre>
fun test(foo: Int?) {
if (foo == null) throw IllegalArgumentException("foo") // Replace guard clause with kotlin's function call
}
</pre>
</body>
</html>