input

fun input(): String

Gets a string from the console.

Example (REPL) usage:

>>> val name = input()
chris
>>> name
res2: kotlin.String = chris

Return

resulting typed input