exportReferenced

protected fun exportReferenced(value: Any?, includeParameters: Boolean = false, includeTypeParameters: Boolean = false)(source)

Exports the symbol value refers to. value must be a function call (including constructors) or property access.

Exports from the call of the expression its argument evaluates to. For example:

exportReferenced(listOf<Int>().toSet())

will export kotlin.collections.toSet.

Parameters

includeParameters

Whether to also export the parameters of functions. Must be a literal true or false.

includeTypeParameters

Whether to also export the type parameters of functions or properties. Must be a literal true or false.