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

Method is_empty

arrow-buffer/src/buffer/scalar.rs:151–153  ·  view source on GitHub ↗

Returns if the buffer is empty

(&self)

Source from the content-addressed store, hash-verified

149
150 /// Returns if the buffer is empty
151 pub fn is_empty(&self) -> bool {
152 self.len() == 0
153 }
154}
155
156impl<T: ArrowNativeType> Deref for ScalarBuffer<T> {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected