export

fun <T : Any> export(scope: Exporter<T>.() -> Unit): T

Scoping function to capture some value by an Exporter and return the value.

Return

some arbitrary type T

Parameters

scope

some value generating expression with Exporter as receiver

See also