push
push(container, value1)
push(container, value1, value2)
Parameter | Type | Description |
---|---|---|
container | * | |
value1 | * | List: Value to push Set: Element Dictionary: Key |
(optional) value2 | * | Dictionary: Value to push |
Pushes the given value to the container.
Returns
(*) The same container.
Example
elk
list | push(x)
dict | push("name", "John")
list | push(x)
dict | push("name", "John")