containsNodeData method
Decide if a given node data object is in this model, using reference equality.
If you do not have a reference to the particular data object that is in the #nodeDataArray, you may need to search for it by iterating through that Array, or by finding the desired Node or simple Part in a Diagram and getting that node's Panel#data, or most likely by calling #findNodeDataForKey. @param {Object} nodedata a JavaScript object represented by a node, group, or non-link. @return {boolean} true if it is a node data object in this model; false otherwise.
Implementation
_i2.bool containsNodeData(_i2.Object nodedata) => _i4.callMethod(
this,
'containsNodeData',
[nodedata],
);