// Whether the first element is a node
ele.isNode(): booleanWhether the first element is a node.
Returns
booleantrue for a node
eles.isNode — Collection > Metadata and identity. Cytoscape.js signatures, parameters and return contract.
eles.isNode — Collection › Metadata and identity
Preview · Collection › Metadata and identity
Read in the complete API reference · All API members
// Whether the first element is a node
ele.isNode(): booleanWhether the first element is a node.
booleantrue for a node