getFirstDocument (NotesDocumentCollection - JavaScript)

Gets the first document in a collection.

Defined in

NotesDocumentCollection

Syntax

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

Examples

See getNextDocument.