fun insert(value: Any): Unit
Inserts a value into an array at the index defined by the preceding subscripting. This will only succeed if the value at the subscripting-defined key is an index into an array.
value
- the value to insert into the array.
DittoError
- Thrown if trying to update the document at an invalid key.