MCPcopy Index your code
hub / github.com/OmkarPathak/pygorithm / is_empty

Method is_empty

pygorithm/data_structures/queue.py:89–93  ·  view source on GitHub ↗

checks whether the deque is empty

(self)

Source from the content-addressed store, hash-verified

87 return ' '.join([str(i) for i in self.queue])
88
89 def is_empty(self):
90 """
91 checks whether the deque is empty
92 """
93 return len(self.queue) <= 0
94
95 def is_full(self):
96 """

Callers 1

delete_rearMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected