← Back to Stormify Documentation

InOut

class InOut<T : Any>(val type: KClass<T>, val input: T) : Sp

INOUT parameter. The input value is sent to the procedure. After the call returns, value holds whatever the procedure left there (which may differ from input).

Constructors

Link copied to clipboard
constructor(type: KClass<T>, input: T)

Properties

Link copied to clipboard
val input: T

The initial value sent to the procedure. Retained for reference after execute.

Link copied to clipboard
val required: T

Non-null accessor; throws if the procedure cleared the value to NULL.

Link copied to clipboard
val type: KClass<T>

The declared Kotlin type of the parameter.

Link copied to clipboard
val value: T?

The current value — initially input, updated after execute.

Functions

Link copied to clipboard
open override fun toString(): String

Debug representation: INOUT<Type>:<value>.