1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

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>