Syntax
PUSH(array, item1, ...)
Usage examples
| Input | 1 { 2 "my_action":{ 3 "array":[ 4 "red", 5 "green" 6 ] 7 } 8 } Copy |
| Formula | PUSH(my_action.array, "blue") |
| Output | 1 [ 2 "red", 3 "green", 4 "blue" 5 ] Copy |
| Formula | PUSH([1, 2, 3], 4, 5, 6) |
| Output | 1 [ 2 1, 3 2, 4 3, 5 4, 6 5, 7 6 8 ] Copy |
| Formula | PUSH([1, 2, 3], [4, 5, 6]) |
| Output | 1 [ 2 1, 3 2, 4 3, 5 [ 6 4, 7 5, 8 6, 9 ] 10 ] Copy |