MCPcopy Create free account
hub / github.com/apache/arrow-rs / is_empty

Method is_empty

arrow-array/src/array/byte_array.rs:491–493  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

489 }
490
491 fn is_empty(&self) -> bool {
492 self.value_offsets.len() <= 1
493 }
494
495 fn shrink_to_fit(&mut self) {
496 self.value_offsets.shrink_to_fit();

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected