#include "tensorstore/data_type.h"
bool tensorstore::IsPossiblySameDataType(DataType aDataType b);
template <typename T, typename U>
constexpr bool
tensorstore::IsPossiblySameDataType(StaticDataType<T> a,
                                    
StaticDataType<U> b);

Checks if both data types are equal or at least one is unspecified.