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/function/buffer.rs:57–59 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
55
}
56
57
pub const fn is_empty(&self) -> bool {
58
self.len() == 0
59
}
60
61
pub fn as_object(&self) -> &PyObject {
62
&self.0.obj
Callers
nothing calls this directly
Calls
1
len
Method · 0.45
Tested by
no test coverage detected