Sanity Library Reference Docs
    Preparing search index...

    Function useOnlyHasVersions

    Returns a boolean if the document has only versions

    document id related to the document version list

    if the document has only versions