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