push function:

  • Can also be called as push_back

Add items to a list. If the first argument is a list, will iterate over all the other arguments and add them to the list if they exists.

Examples:

  • running: (push [], 1, 2, 3, 4) will give: [1, 2, 3, 4]

  • running: (push ["a"], "b") will give: ["a", "b"]

  • running: (push ["a"], (push 1 1)) will give: ["a"]

  • running: (push -4, -4) will return nothing