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

Method is_empty

arrow-buffer/src/buffer/run.rs:173–175  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

171 /// Returns true if this buffer is logically empty.
172 #[inline]
173 pub fn is_empty(&self) -> bool {
174 self.logical_length == 0
175 }
176
177 /// Free up unused memory.
178 pub fn shrink_to_fit(&mut self) {

Callers 3

from_strMethod · 0.45
sliced_valuesMethod · 0.45
newMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected