@Coorasse has a good answer, though it should be:
my_array | [item]
And to update my_array in place:
my_array |= [item]
@Coorasse has a good answer, though it should be:
my_array | [item]
And to update my_array in place:
my_array |= [item]