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

Method is_valid

arrow-buffer/src/builder/null.rs:159–165  ·  view source on GitHub ↗
(&self, index: usize)

Source from the content-addressed store, hash-verified

157 /// Gets a bit in the buffer at `index`
158 #[inline]
159 pub fn is_valid(&self, index: usize) -> bool {
160 if let Some(ref buf) = self.bitmap_builder {
161 buf.get_bit(index)
162 } else {
163 true
164 }
165 }
166
167 /// Truncates the builder to the given length
168 ///

Callers

nothing calls this directly

Calls 1

get_bitMethod · 0.80

Tested by

no test coverage detected