Loading TOC...

MarkLogic 9 Product Documentation
BooleanNode.nodeKind

BooleanNode.nodeKind as string

Summary

This is inherited from the Node object.

Return a string indicating the type of the node.

Example

cts.doc('/anyDocument.json').nodeKind;

// returns 'document' because it was applied to a document node

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.