Class: DocumentFragment

DocumentFragment

Represents multiple chunks of a full Document.


<private> new DocumentFragment()

Since:
  • 2.1.4 (stability: committed)

Methods


content(path)

Retrieve the value of the operation by its path. The path is the path provided to the operation

Parameters:
Name Type Description
path string
Since:
  • 2.1.4 (stability: committed)

contentByIndex(index)

Retrieve the value of the operation by its index. The index is the position of the operation as it was added to the builder.

Parameters:
Name Type Description
index number
Since:
  • 2.1.4 (stability: committed)

exists(path)

Checks whether the indicated path exists in this DocumentFragment and no errors were returned from the server.

Parameters:
Name Type Description
path string
Since:
  • 2.1.4 (stability: committed)