exportReference

protected fun exportReference(reference: KFunction<*>, includeParameters: Boolean = false, includeTypeParameters: Boolean = false)(source)

Export a reference to the passed function. reference must be a literal :: expression.

If the function has overloads, use exportReferenced instead.

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.


protected fun exportReference(reference: KProperty<*>, includeParameters: Boolean = false, includeTypeParameters: Boolean = false)(source)

Export a reference to the passed property. reference must be a literal :: expression.

If the property has overloads, use exportReferenced instead.

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.