re_arrow_util::arrays

Function is_list_array_semantically_empty

Source
pub fn is_list_array_semantically_empty(list_array: &ListArray) -> bool
Expand description

Returns true if the given list_array is semantically empty.

Semantic emptiness is defined as either one of these:

  • The list is physically empty (literally no data).
  • The list only contains null entries, or empty arrays, or a mix of both.