Returns the version of the object. Accepts both reactive objects and snapshots.
O(h) in Automerge heads: database entities copy the current heads into a fresh array per call.
Returns the version of the object. Accepts both reactive objects and snapshots.