- :string
- :binary
- :block
- or :nothing
append
++
append value to given collection
Parameters
append collection :char :string :literal :binary :block value :any
Returns
Examples
copyappend "hell" "o" ; => "hello" append [1 2 3] 4 ; => [1 2 3 4] append [1 2 3] [4 5] ; => [1 2 3 4 5]
copyprint "hell" ++ "o!" ; hello! print [1 2 3] ++ 4 ++ 5 ; [1 2 3 4 5]
copya: "hell" append 'a "o" print a ; hello
copyb: [1 2 3] 'b ++ 4 print b ; [1 2 3 4]