/// <summary>Test if the end of current tuple is equal to another tuple</summary> /// <param name="left">Larger tuple</param> /// <param name="right">Smaller tuple</param> /// <returns>True if the end of <paramref name="left"/> is equal to <paramref name="right"/> or if both tuples are identical</returns> public static bool EndsWith([NotNull] this ITuple left, [NotNull] ITuple right) { if (left == null) { throw new ArgumentNullException(nameof(left)); } if (right == null) { throw new ArgumentNullException(nameof(right)); } //REVIEW: move this on ITuple interface ? return(STuple.EndsWith(left, right)); }