ReturnBehavior

enum ReturnBehavior : Enum<ControlFlowFn.ReturnBehavior>

Describes whether functions return their argument or whatever is done in a block

Entries

Link copied to clipboard

Return whatever the enclosing block returns

Link copied to clipboard

Return what was given as argument, usually after applying a function T -> Unit

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int