kotlin
Execute the given Kotlin source code as an interactive snippet, returning the result. This is equivalent to calling PolyglotContext.evaluate and selecting Kotlin as source language with an interactive source.
Return
The result of the invocation.
Parameters
source
The Kotlin snippet to be evaluated.