MarkLogic 10 Product Documentation
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
Powered by MarkLogic Server | Terms of Use | Privacy Policy