hasItem (Document - Java)

Indicates whether an item exists in the document.

Defined in

Document

Syntax

public boolean hasItem(String name)
    throws NotesException

Parameters

String name

The name of an item.

Return value

  • true if an item with name exists in the document
  • false if no item with name exists in the document

Example