summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html')
-rw-r--r--api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html b/api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html
new file mode 100644
index 00000000..f9118a2d
--- /dev/null
+++ b/api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html
@@ -0,0 +1,15 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>createInstance - kvision</title>
+<link rel="stylesheet" href="../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.utils</a>&nbsp;/&nbsp;<a href="index.html">kotlin.Any</a>&nbsp;/&nbsp;<a href="./create-instance.html">createInstance</a><br/>
+<br/>
+<h1>createInstance</h1>
+<a name="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))"></a>
+<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">T</span><span class="symbol">&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="create-instance.html#T"><span class="identifier">T</span></a></code>
+<p>Helper function for creating JavaScript objects from dynamic constructors.</p>
+</BODY>
+</HTML>