Array and Dictionary operations

  • Add an item to an array: my_array.append(item)
  • Remove an item from an array: my_array.erase(item)
  • Get the length of an array: var length = my_array.size()
  • Check if a key exists in a dictionary: if my_dict.has(key):
Comments