Update kotlin.md (#1629)
* Update kotlin.md minor addition * Update kotlin.md Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
This commit is contained in:
parent
1acbf74350
commit
4d47cbd4e9
|
@ -26,6 +26,7 @@ val inferredString = "Adam"
|
||||||
val name = "Adam"
|
val name = "Adam"
|
||||||
val greeting = "Hello, " + name
|
val greeting = "Hello, " + name
|
||||||
val greetingTemplate = "Hello, $name"
|
val greetingTemplate = "Hello, $name"
|
||||||
|
val interpolated = "Hello, ${name.toUpperCase()}"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Numbers
|
### Numbers
|
||||||
|
@ -399,4 +400,4 @@ References
|
||||||
* [Collections Documentation](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/index.html) _(kotlinlang.org)_
|
* [Collections Documentation](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/index.html) _(kotlinlang.org)_
|
||||||
* [Functions Documentation](https://kotlinlang.org/docs/reference/functions.html) _(kotlinlang.org)_
|
* [Functions Documentation](https://kotlinlang.org/docs/reference/functions.html) _(kotlinlang.org)_
|
||||||
* [Classes Documentation](https://kotlinlang.org/docs/reference/classes.html) _(kotlinlang.org)_
|
* [Classes Documentation](https://kotlinlang.org/docs/reference/classes.html) _(kotlinlang.org)_
|
||||||
* [Destructuring Declarations](https://kotlinlang.org/docs/reference/multi-declarations.html) _(kotlinlang.org)_
|
* [Destructuring Declarations](https://kotlinlang.org/docs/reference/multi-declarations.html) _(kotlinlang.org)_
|
||||||
|
|
Loading…
Reference in New Issue