Constant indicating the type of Block. Can be used for type descrimination, see BlockType for more details.
Provides metadata regarding the processed document
Gets the children of this node
an array of children or an empty array if this is a leaf node
Determines whether or not the specified node is a child of this node.
the item to look for
true if the item is a child of this node, false otherwise
Get the parent node of this node
the parent of this node or undefined if this is the root node
Generated using TypeDoc
Interface that provides access to information about Document blocks. The Document block always forms the root of the tree and there is only one Document block per Textract response.
The Document block will have one Page block child for each page in the processed document.