/// <summary>
        /// Checks if a <paramref name="value"/> is clamped in an inclusive range between <paramref name="min"/> and <paramref name="max"/>.
        /// </summary>
        /// <param name="_this">The <see cref="IComparer"/> used for comparisons.</param>
        /// <param name="value"></param>
        /// <param name="min">The lower border of the range. Is considered lower than <paramref name="_this"/> if null.</param>
        /// <param name="max">The upper border of the range. Is considered higher than <paramref name="_this"/> if null.</param>
        /// <returns>True if <paramref name="value"/> is clamped, false if not.</returns>
        /// <exception cref="ArgumentNullException">Thrown if <paramref name="_this"/> is null.</exception>
        /// <example>
        /// <code>
        /// Boolean result = new MyComparer().IsClamped(value, min, max);
        /// </code>
        /// </example>
        public static Boolean IsClamped(this IComparer _this, Object value, Object min, Object max)
        {
            Throw.If.Object.IsNull(_this, nameof(_this));
            Throw.If.Object.IsNull(value, nameof(value));

            if (min != null && max != null && _this.IsGreaterThan(min, max))
            {
                return(_this.IsClamped(value, max, min));
            }

            Boolean result = true;

            result &= min == null || _this.IsGreaterThanOrEqual(value, min);
            result &= max == null || _this.IsLessThanOrEqual(value, max);

            return(result);
        }