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

Method is_empty

crates/vm/src/builtins/bytes.rs:213–215  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

211
212 #[inline]
213 pub const fn is_empty(&self) -> bool {
214 self.inner.is_empty()
215 }
216
217 #[inline]
218 pub fn as_bytes(&self) -> &[u8] {

Callers 1

slot_newMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected