← Back to Stormify Documentation

inOutParam

expect fun <T : Any> inOutParam(type: KClass<T>, value: T): Sp.InOut<T>

Factory for an INOUT parameter, equivalent to Sp.InOut(type, value). Kotlin callers typically prefer the reified spInOut helper. On JVM and Android a java.lang.Class<T> overload is also available.

fun <T : Any> inOutParam(type: Class<T>, value: T): Sp.InOut<T>

Class<T> overload for Java callers; equivalent to inOutParam(type.kotlin, value).


actual fun <T : Any> inOutParam(type: KClass<T>, value: T): Sp.InOut<T>

Factory for an INOUT parameter, equivalent to Sp.InOut(type, value). Kotlin callers typically prefer the reified spInOut helper. On JVM and Android a java.lang.Class<T> overload is also available.

actual fun <T : Any> inOutParam(type: KClass<T>, value: T): Sp.InOut<T>

Factory for an INOUT parameter, equivalent to Sp.InOut(type, value). Kotlin callers typically prefer the reified spInOut helper. On JVM and Android a java.lang.Class<T> overload is also available.