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

Method is_empty

crates/common/src/boxvec.rs:54–56  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

52
53 #[inline]
54 pub const fn is_empty(&self) -> bool {
55 self.len() == 0
56 }
57
58 #[inline]
59 pub const fn capacity(&self) -> usize {

Callers 1

popMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected