Readonly
docReadonly
idUnique ID within a document.
Protected
deleteProtected
deleteRename to .rangeX() method?
Protected
formatReturns a reference to an element at a given position in the array.
The position of the element to get.
An element of the array, if any.
Protected
insProtected
insProtected
insertProtected
insertProtected
mergeProtected
mergeProtected
mergeOr better remove this method completely, as it does not require "this".
Returns the position of the first element in the chunk.
Or better remove this method completely, as it does not require "this".
ID of character to start the search from.
Previous ID in the RGA sequence.
Chunk from which to start the range. If undefined, the
chunk containing from
will be used. This is an optimization
to avoid a lookup.
ID of the first element in the range.
ID of the last element in the range.
Function to call for each chunk slice in the range. If it returns truthy value, the iteration will stop.
Reference to the last chunk in the range.
All ".rangeX()" method are not performance optimized. For hot paths it is better to hand craft the loop.
Protected
splitProtected
toReturns a POJO object which represents the "view" of this JSON node model.
Represents the
arr
JSON CRDT type, which is a Replicated Growable Array (RGA). Each element ot the array is a reference to another JSON CRDT node.