MCPcopy Create free account
hub / github.com/couchbase/fleece / root

Method root

API/fleece/Fleece.hh:379–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377 SharedKeys sharedKeys() const {return FLDoc_GetSharedKeys(_doc);}
378
379 Value root() const {return FLDoc_GetRoot(_doc);}
380 explicit operator bool () const {return root() != nullptr;}
381 Array asArray() const {return root().asArray();}
382 Dict asDict() const {return root().asDict();}

Callers

nothing calls this directly

Calls 1

FLDoc_GetRootFunction · 0.85

Tested by

no test coverage detected