MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / is_empty

Method is_empty

linked_lists/linked_stack.py:22–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20
21
22 def is_empty(self):
23 return self._size == 0
24
25 def push(self, e):
26 self._head = self._Node(e, self._head)

Callers 2

topMethod · 0.95
popMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected