| length.am_doc | R Documentation |
Returns the number of keys in the root map of an Automerge document.
## S3 method for class 'am_doc'
length(x)
x |
An Automerge document |
Integer length
doc <- am_create()
doc$a <- 1
doc$b <- 2
length(doc) # 2
am_close(doc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.