Skip to content

Prepend number to number-list

Description

Adds a number input to the start of number-list input

Input Ports

Name dataType sourceType required description
Number value number link-manual true The number value that will be added to the start of the number-list
Number list value number-list link-manual false The number-list that will receive the new number value at the start of the list

Scenarios

  • The user wants to prepend a new number value at the start of the original number-list
  • The user wants to prepend a new number value at the start of a number-list without providing a number-list

Prepending a number value to a list

Number value Number list New Number list
420 210 420
650 210
650

Use case

Command

Inputs
  • Number value: 420
  • Number-List: [210, 650]
Experienced tips
  • If the number value is empty, the process will continue and not prepend any new value to the number-list
  • If the number value contains a value and the number-list is empty, the process will continue and prepend the number value to a new number-list
Output

Output

Search Tags

Add a number value to a number-list