Takes a document id and returns the variant type for that document If it's a document that starts with version. it's a version document. If it's a document that starts with drafts. it's a draft document. Otherwise, it's a published document.
version.
version
drafts.
draft
published
Takes a document id and returns the variant type for that document If it's a document that starts with
version.
it's aversion
document. If it's a document that starts withdrafts.
it's adraft
document. Otherwise, it's apublished
document.