MCPcopy Index your code
hub / github.com/BeeBombshell/Python-DSA / is_empty

Method is_empty

DSA/deque.py:26–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

24 return len(self) >= self.length - 1
25
26 def is_empty(self):
27 return len(self) == 0
28
29 def append(self, x):
30 if self.is_full():

Callers 3

popMethod · 0.95
popleftMethod · 0.95
deque.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected