The parameters for checking if the document has been amended. This includes:
doctype: The type of document to check.docname: The name or identifier of the document to check.A promise that resolves to a boolean indicating whether the document has been amended. Returns true if the document has been amended, otherwise false.
Checks if a document has been amended.
This function performs an asynchronous request to the server to determine if a specific document has been amended since its original creation. It helps to verify if any changes have been made to the document after it was initially created or last modified.
Example
Example
Throws
Throws an error if the request fails or if there is an issue with determining the document's amendment status.