Node.seal

Seals the given node, making it immutable to further changes.

In order to be sealed, the node must have a type and value set. The value will be recursively sealed — if the node holds an object, that JSON object will be sealed, etc.

If the node is already immutable, this is a no-op.

class Node
void
seal
()