HasItem (NotesDocument - LotusScript®)

Given the name of an item, indicates whether that item exists on the document.

Defined in

NotesDocument

Syntax

flag = notesDocument .HasItem( itemName$ )

Parameters

itemName$

String. The name of an item.

Return value

  • True indicates that an item with itemName$ exists in the document.
  • False indicates that there is no item with itemName$ in the document.

Example