pub fn coerce_types(
    lhs_type: &DataType,
    op: &Operator,
    rhs_type: &DataType
) -> Result<DataType>
Expand description

Coercion rules for all binary operators. Returns the output type of applying op to an argument of lhs_type and rhs_type.