data_types

Function data_types 

Source
pub fn data_types(
    function_name: impl AsRef<str>,
    current_types: &[DataType],
    signature: &Signature,
) -> Result<Vec<DataType>>
Expand description

Performs type coercion for function arguments.

Returns the data types to which each argument must be coerced to match signature.

For more details on coercion in general, please see the type_coercion module.