Join Slack
Powered by
<https://github.com/JetBrains/kotlin-web-site/blob...
# codingconventions
m
marcinmoskala
11/21/2017, 2:51 PM
https://github.com/JetBrains/kotlin-web-site/blob/yole/styleguide/pages/docs/reference/coding-conventions.md#platform-types
I would suggest to use
trimMargin
to not trim intentional indent:
Copy code
val a = """if(a > 1) { | return a |}""".trimMargin()
y
yole
11/27/2017, 4:55 PM
added example. thanks!
2
Views
Open in Slack
Previous
Next