Loading TOC...

NodeBuilder.addNull

NodeBuilder.addNull() as This NodeBuilder object

Summary

Add a null node to the node tree the builder is building.

Example

const builder = new NodeBuilder();
builder.addNull();
builder.toNode();

// Returns a JSON null node

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.