getLastDocument (NotesDocumentCollection - JavaScript)

Gets the last document in a collection.

Defined in

NotesDocumentCollection

Syntax

getLastDocument() : NotesDocument
Return value Description
NotesDocument The last document in the collection. If there are no documents in the collection, returns null.

Examples

See getPrevDocument.