Skip to content

Latest commit

 

History

History
77 lines (60 loc) · 2.06 KB

append.md

File metadata and controls

77 lines (60 loc) · 2.06 KB

Append To List (append)

Add data to the end of an array

Description

append data to the end of an array.

Usage

<stdin> -> append value -> <stdout>

Examples

» a [Monday..Sunday] -> append Funday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Funday

Detail

prepend and append are data type aware:

» tout json [1,2,3] -> append 4 5 6 bob
Error in `append` (1,22): cannot convert 'bob' to a floating point number: strconv.ParseFloat: parsing "bob": invalid syntax

Synonyms

  • append
  • list.append

See Also


This document was generated from builtins/core/lists/append_doc.yaml.