// Whether the collection holds no elements
eles.empty(): booleanWhether the collection holds no elements.
Returns
booleantrue when empty
eles.empty — Collection > Iteration and aggregation. Cytoscape.js signatures, parameters and return contract.
eles.empty — Collection › Iteration and aggregation
Preview · Collection › Iteration and aggregation
Read in the complete API reference · All API members
// Whether the collection holds no elements
eles.empty(): booleanWhether the collection holds no elements.
booleantrue when empty