<divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">open </span><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="bind-symbol-or-null.html"><spanclass="token function">bindSymbolOrNull</span></a><spanclass="token punctuation">(</span>value<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="index.html">T</a><spanclass="token operator">?</span><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><pclass="paragraph">Wraps a raw string to <ahref="index.html">T</a> object. This method is designed for three purposes:</p><ol><li><pclass="paragraph">Mathematical constants (<codeclass="lang-kotlin">e</code>, <codeclass="lang-kotlin">pi</code>).</p></li><li><pclass="paragraph">Variables for expression-like contexts (<codeclass="lang-kotlin">a</code>, <codeclass="lang-kotlin">b</code>, <codeclass="lang-kotlin">c</code>…).</p></li><li><pclass="paragraph">Literals (<codeclass="lang-kotlin">{1, 2}</code>, (<codeclass="lang-kotlin">(3; 4)</code>)).</p></li></ol><pclass="paragraph">If algebra can't parse the string, then this method must throw <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-state-exception/index.html">kotlin.IllegalStateException</a>.</p><h4class="">Return</h4><pclass="paragraph">an object or <codeclass="lang-kotlin">null</code> if symbol could not be bound to the context.</p><h2class="">Parameters</h2><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><span><span>value</span></span></div></span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">the raw string.</p></div></div></div></div></div></div></div></div></div>