MCPcopy Index your code
hub / github.com/RustPython/RustPython / is_empty

Method is_empty

crates/vm/src/builtins/tuple.rs:304–306  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

302
303 #[inline]
304 pub fn is_empty(&self) -> bool {
305 self.elements.is_empty()
306 }
307
308 #[inline]
309 pub fn iter(&self) -> core::slice::Iter<'_, R> {

Callers 6

slot_newMethod · 0.45
new_refMethod · 0.45
repeatMethod · 0.45
__add__Method · 0.45
as_numberMethod · 0.45
reprMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected