profectus-docs/assets/api_game_boards_board_functions_unwrapNodeRef.md.Bc4_tJXc.js

1 line
2.6 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as a,c as r,a0 as o,o as t}from"./chunks/framework.P9qPzDnn.js";const u=JSON.parse('{"title":"Function: unwrapNodeRef()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/boards/board/functions/unwrapNodeRef.md","filePath":"api/game/boards/board/functions/unwrapNodeRef.md","lastUpdated":null}'),d={name:"api/game/boards/board/functions/unwrapNodeRef.md"};function n(s,e,c,p,i,l){return t(),r("div",null,e[0]||(e[0]=[o('<p><a href="./../../../../">Profectus</a> / <a href="./../">game/boards/board</a> / unwrapNodeRef</p><h1 id="function-unwrapnoderef" tabindex="-1">Function: unwrapNodeRef() <a class="header-anchor" href="#function-unwrapnoderef" aria-label="Permalink to &quot;Function: unwrapNodeRef()&quot;"></a></h1><blockquote><p><strong>unwrapNodeRef</strong>&lt;<code>T</code>, <code>R</code>, <code>S</code>&gt;(<code>property</code>, <code>node</code>, ...<code>args</code>): <code>R</code></p></blockquote><p>Gets the value of a property for a specified node.</p><h2 id="type-parameters" tabindex="-1">Type Parameters <a class="header-anchor" href="#type-parameters" aria-label="Permalink to &quot;Type Parameters&quot;"></a></h2><p>• <strong>T</strong></p><p>• <strong>R</strong></p><p>• <strong>S</strong> <em>extends</em> <code>unknown</code>[]</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h2><h3 id="property" tabindex="-1">property <a class="header-anchor" href="#property" aria-label="Permalink to &quot;property&quot;"></a></h3><p><a href="./../type-aliases/NodeMaybeRefOrGetter"><code>NodeMaybeRefOrGetter</code></a>&lt;<code>T</code>, <code>R</code>, <code>S</code>&gt;</p><p>The property to find the value of</p><h3 id="node" tabindex="-1">node <a class="header-anchor" href="#node" aria-label="Permalink to &quot;node&quot;"></a></h3><p><code>T</code></p><p>The node to get the property of</p><h3 id="args" tabindex="-1">args <a class="header-anchor" href="#args" aria-label="Permalink to &quot;args&quot;"></a></h3><p>...<code>S</code></p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><code>R</code></p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/boards/board.tsx#L32" target="_blank" rel="noreferrer">profectus/src/game/boards/board.tsx:32</a></p>',21)]))}const h=a(d,[["render",n]]);export{u as __pageData,h as default};