Available on crate feature
compute_utf8
only.Expand description
Checks if an array of type datatype
can perform upper operation
Examples
use arrow2::compute::utf8::can_upper;
use arrow2::datatypes::{DataType};
let data_type = DataType::Utf8;
assert_eq!(can_upper(&data_type), true);
let data_type = DataType::Null;
assert_eq!(can_upper(&data_type), false);