mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-11 14:52:54 +01:00
2.9 KiB
2.9 KiB
hide_title, hide_table_of_contents, title
| hide_title | hide_table_of_contents | title |
|---|---|---|
| true | true | Create New Array |
<##head##>
Create New Array
Creates a new Array. The outgoing property Id is the id of the newly created array. This can for example be connected to an Array node or Insert Object Into Array Node.
<##head##>
Inputs
| Data | Description |
|---|---|
| Items | <##input:items##>An array containing initial items of the new array. It will be read when the Do signal is triggered. In other words, the new Array will be a copy of the provided Array, containing the same Objects.<##input##> |
| Signal | Description |
|---|---|
| Do | <##input:do##>Sending a signal to this input creates the new Array. The Id of the newly created array will be set on the Id output. Each triggering will create a new Array, hence changing the Id output.<##input##> |
Outputs
| Data | Description |
|---|---|
| Id | <##output:id##>The Id of the newly created Array. You use this Id to refer to the Array.<##output##> |
| Signal | Description |
|---|---|
| Done | <##output:done##>This signal will be sent when the new Array has been created.<##output##> |
