Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow-rs
/ is_empty
Method
is_empty
arrow-array/src/array/map_array.rs:391–393 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
389
}
390
391
fn is_empty(&self) -> bool {
392
self.value_offsets.len() <= 1
393
}
394
395
fn shrink_to_fit(&mut self) {
396
if let Some(nulls) = &mut self.nulls {
Callers
nothing calls this directly
Calls
1
len
Method · 0.45
Tested by
no test coverage detected