<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><divclass="block"><divclass="block">@<ahref="../../space.kscience.kmath.misc/-unstable-k-math-a-p-i/index.html">UnstableKMathAPI</a>()</div></div>open fun <<ahref="get-feature.html">F</a> : <ahref="../-structure-feature/index.html">StructureFeature</a>><ahref="get-feature.html">getFeature</a>(structure: <ahref="../-structure-n-d/index.html">StructureND</a><<ahref="index.html">T</a>>, type: <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><out <ahref="get-feature.html">F</a>>): <ahref="get-feature.html">F</a>?<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></div></div>
</div>
<pclass="paragraph">Get a feature of the structure in this scope. Structure features take precedence other context features.</p><h4class="">Return</h4><pclass="paragraph">a feature object or <code>null</code> if it isn't present.</p><h2class="">Parameters</h2><divdata-togglable="Parameters"><divclass="platform-hinted WithExtraAttributes"data-platform-hinted="data-platform-hinted"data-togglable="Parameters"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><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">F</span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">the type of feature.</p></div></div></div></div></div><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">structure</span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">the structure.</p></div></div></div></div></div><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">type</span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">the <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a> instance of <ahref="get-feature.html">F</a>.</p></div></div></div></div></div></div></div></div></div></div></div>