powered by
Returns the number of keys in the root map of an Automerge document.
# S3 method for am_doc length(x)
Integer length
An Automerge document
doc <- am_create() doc$a <- 1 doc$b <- 2 length(doc) # 2 am_close(doc)
Run the code above in your browser using DataLab