Push

From MiniScript Wiki
Revision as of 15:47, 17 March 2020 by 71.226.33.30 (talk) (Created page with "<c>push</c> appends an item to the end of a list, or inserts it into a map as a key with a value of 1. See also: pop; pull; insert === Arguments === {| class="wi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

push appends an item to the end of a list, or inserts it into a map as a key with a value of 1.

See also: pop; pull; insert

Arguments

Parameter Name Default Value Meaning
self list or map object to append an element to

Usage Notes

push may be called with function syntax or dot syntax.