Update function node help reference to node properties

This commit is contained in:
Nick O'Leary
2021-04-12 12:08:07 +01:00
parent ad788fbed1
commit e44131f97a

View File

@@ -52,7 +52,7 @@
pass <code>msg</code> as a second argument to <code>node.error</code>:</p>
<pre>node.error("Error",msg);</pre>
<h4>Accessing Node Information</h4>
<p>In the function block, id and name of the node can be referenced using the following properties:</p>
<p>The following properties are available to access information about the node:</p>
<ul>
<li><code>node.id</code> - id of the node</li>
<li><code>node.name</code> - name of the node</li>