Return

class Return(val expression: Expression?) : Statement

Represents the exit from a function, optionally returning a value to the caller.

Constructors

Link copied to clipboard
fun Return(expression: Expression?)

Properties

Link copied to clipboard
val expression: Expression?

an expression evaluating to the value to be returned.