isNodeExist(nodeKey);
nodeKey. String. Node key.
The isNodeExist method returns whether the specified node exists.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Check if the node exists Tree.isNodeExist("10"); // -> false
After executing the example it is obtained whether the node with the 10 key exists.
See also: