scalar_matches_dtype

Function scalar_matches_dtype 

Source
pub fn scalar_matches_dtype(scalar: &Scalar, dtype: &DType) -> bool
Expand description

Returns true if the scalar’s is compatible with the provided data type.