← Back to Stormify Documentation

Out

expect class Out<T : Any>(type: KClass<T>) : Sp

OUT parameter. After procedure(...) returns, value holds the typed value produced by the procedure, or null if it was not populated.

actual class Out<T : Any>(val type: KClass<T>) : Sp

OUT parameter. After procedure(...) returns, value holds the typed value produced by the procedure, or null if it was not populated.

actual class Out<T : Any>(val type: KClass<T>) : Sp

OUT parameter. After procedure(...) returns, value holds the typed value produced by the procedure, or null if it was not populated.

Constructors

Link copied to clipboard
expect constructor(type: KClass<T>)
actual constructor(type: KClass<T>)
actual constructor(type: KClass<T>)

Properties

Link copied to clipboard
expect val required: T

Non-null accessor; throws if the procedure did not populate this OUT.

actual val required: T

Non-null accessor; throws if the procedure did not populate this OUT.

actual val required: T

Non-null accessor; throws if the procedure did not populate this OUT.

Link copied to clipboard
expect val type: KClass<T>

The declared Kotlin type of the returned value.

actual val type: KClass<T>

The declared Kotlin type of the returned value.

actual val type: KClass<T>

The declared Kotlin type of the returned value.

Link copied to clipboard
expect val value: T?

The returned value, or null if the procedure did not set it.

actual val value: T?

The returned value, or null if the procedure did not set it.

actual val value: T?

The returned value, or null if the procedure did not set it.

Functions

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

Debug representation OUT<Type>:<value>.

open override fun toString(): String

Debug representation OUT<Type>:<value>.