Function re_sdk::external::arrow2::compute::take::can_take

pub fn can_take(data_type: &DataType) -> bool
Expand description

Checks if an array of type datatype can perform take operation

§Examples

use re_arrow2::compute::take::can_take;
use re_arrow2::datatypes::{DataType};

let data_type = DataType::Int8;
assert_eq!(can_take(&data_type), true);