User-defined type comparisons User-defined type comparisons include distinct type comparisons and array comparisons.