prepend
Return a new list where b is prepended to a
Description
Prepend a number or numbers before an input number or list and output a new list.
Arguments
b [list]
A number or list of numbers to prepend to the input.
Inlets
a [list]
The input number or list that will come after any prepend values in the output list.
b [list]
A number or list of numbers to prepend to the input.
Outlets
out1 [list]
Outputs a list composed of the prepended value(s) followed by the input value(s).
Fixed Attributes
These attributes must be set in the object box and determine the behavior of the object at runtime.
hot [bool] (default: false)
Trigger computation on all inlets.
Dynamic Attributes
These attributes can be modified in the code during execution using the set object
a [list]
The input number or list that will come after any prepend values in the output list.
b [list]
A number or list of numbers to prepend to the input.
reset [bang] (default: 0)
Banging this attribute will reset the object to its default state.
See Also
Name | Description |
---|---|
prepend | |
append | Returns a new list with b appended to a. |
join | Combine items into a list |
message | send and display messages |
route | Select outlet based on input matching. |