MCPcopy 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_sequenceMethod · 0.45
concatMethod · 0.45
repeatMethod · 0.45
inplace_concatMethod · 0.45
inplace_repeatMethod · 0.45

Calls 2

has_itemMethod · 0.80
slotsMethod · 0.45

Tested by

no test coverage detected