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

Method value_unchecked

arrow-array/src/array/boolean_array.rs:222–224  ·  view source on GitHub ↗

Returns the boolean value at index `i`. Note: This method does not check for nulls and the value is arbitrary if [`is_null`](Self::is_null) returns true for the index. # Safety This doesn't check bounds, the caller must ensure that index < self.len()

(&self, i: usize)

Source from the content-addressed store, hash-verified

220 /// # Safety
221 /// This doesn't check bounds, the caller must ensure that index < self.len()
222 pub unsafe fn value_unchecked(&self, i: usize) -> bool {
223 unsafe { self.values.value_unchecked(i) }
224 }
225
226 /// Returns the boolean value at index `i`.
227 ///

Callers 4

valueMethod · 0.45
take_iter_uncheckedMethod · 0.45
from_unaryMethod · 0.45
from_binaryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected