NumberNode.nodeKind as string
This is inherited from the Node object.
cts.doc('/anyDocument.json').nodeKind; // returns 'document' because it was applied to a document node