Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ check
Method
check
crates/vm/src/protocol/sequence.rs:138–140 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
136
}
137
138
pub fn check(&self) -> bool {
139
self.slots().has_item()
140
}
141
142
pub fn length_opt(self, vm: &VirtualMachine) -> Option<PyResult<usize>> {
143
self.slots().length.load().map(|f| f(self, vm))
Callers
5
try_sequence
Method · 0.45
concat
Method · 0.45
repeat
Method · 0.45
inplace_concat
Method · 0.45
inplace_repeat
Method · 0.45
Calls
2
has_item
Method · 0.80
slots
Method · 0.45
Tested by
no test coverage detected