returns true if the NodeId is null or empty
convert nodeId to a JSON string. same as NodeId.toString
Optionaloptions: { namespaceArray?: string[] }get the string representation of the nodeID.
Optionaloptions: { addressSpace?: any; namespaceArray?: string[] }OptionaladdressSpace?: any{AddressSpace}
OptionalnamespaceArray?: string[]by default, toString will return the "ns=" representation
const nodeid = new NodeId(NodeIdType.NUMERIC, 123,1);
console.log(nodeid.toString());
>"ns=1;i=123"
NodeIdspecialization for numeric nodeIds.