MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / empty

Method empty

animations/src/algo_stack.py:38–39  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36 print("stack pop size:", len(self.datas))
37
38 def empty(self):
39 return len(self.datas) == 0
40
41 def top(self):
42 if self.empty():

Callers 4

constructMethod · 0.95
topMethod · 0.95
top_dataMethod · 0.95
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected