dittosynckit / live.ditto / DittoMutableDocumentPath / push

push

fun push(value: Any): Unit

Push a value on to the end of an array at the document's key defined by the preceding subscripting. This will only succeed if the value at the subscripting-defined key is an array.

Parameters

value - the value to push on to the array.