powered by
Retrieve the full text content from a text object as a string.
am_text_content(text_obj)
Character string with the full text
An Automerge text object ID
doc <- am_create() am_put(doc, AM_ROOT, "doc", am_text("Hello")) text_obj <- am_get(doc, AM_ROOT, "doc") text_obj text <- am_text_content(text_obj) text # "Hello" am_close(doc)
Run the code above in your browser using DataLab