Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_empty
Method
is_empty
crates/vm/src/builtins/dict.rs:202–204 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
200
}
201
202
pub fn is_empty(&self) -> bool {
203
self.entries.len() == 0
204
}
205
206
/// Set item variant which can be called with multiple
207
/// key types, such as str to name a notable one.
Callers
nothing calls this directly
Calls
1
len
Method · 0.45
Tested by
no test coverage detected