Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baowenbo/DAIN
/ is_empty
Method
is_empty
Stack.py:19–20 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
17
def
size(self):
18
return
len(self.stack)
19
def
is_empty(self):
20
return
self.size() == 0
Callers
2
pop
Method · 0.95
peak
Method · 0.95
Calls
1
size
Method · 0.95
Tested by
no test coverage detected