Function polars_core::utils::get_supertype
source ยท pub fn get_supertype(l: &DataType, r: &DataType) -> Option<DataType>
Expand description
Given two data types, determine the data type that both types can safely be cast to.
Returns None
if no such data type exists.