using System; namespace Unity.VisualScripting { internal static class XComparable { internal static bool IsLt(this IComparable x, T y) { return x.CompareTo(y) < 0; } internal static bool IsEq(this IComparable x, T y) { return x.CompareTo(y) == 0; } internal static bool IsGt(this IComparable x, T y) { return x.CompareTo(y) > 0; } } }