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.