// The number of elements — the method form of length
eles.size(): numberThe number of elements — the method form of length.
Returns
numberthe element count
eles.size — Collection > Iteration and aggregation. Cytoscape.js signatures, parameters and return contract.
eles.size — Collection › Iteration and aggregation
Preview · Collection › Iteration and aggregation
Read in the complete API reference · All API members
// The number of elements — the method form of length
eles.size(): numberThe number of elements — the method form of length.
numberthe element count