// Whether the first element is a node with a parent
ele.isChild(): booleanWhether the first element is a node with a parent.
Returns
booleantrue for a node with a parent; false for edges and removed elements
eles.isChild — Collection > Compound nodes. Cytoscape.js signatures, parameters and return contract.
eles.isChild — Collection › Compound nodes
Preview · Collection › Compound nodes
Read in the complete API reference · All API members
// Whether the first element is a node with a parent
ele.isChild(): booleanWhether the first element is a node with a parent.
booleantrue for a node with a parent; false for edges and removed elements