Check if one DType can be safely cast to another without data loss
type CanCast = CanSafelyCast<Int8, Int32> // true (widening)type CannotCast = CanSafelyCast<Float64, Int32> // false (potential precision loss) Copy
type CanCast = CanSafelyCast<Int8, Int32> // true (widening)type CannotCast = CanSafelyCast<Float64, Int32> // false (potential precision loss)
Check if one DType can be safely cast to another without data loss