prepend Reference

Return a new list where b is prepended to a

prepend

Examples

Arguments

b [list]

Optional

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 Add a message in front of input
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.