Table of Contents

IsNotWithinRange Method

Definition

Namespace
Cuemon
Assemblies
Cuemon.Kernel.dll
Source
src/Cuemon.Kernel/Condition.cs

IsNotWithinRange<T>(T, T, T)

Determines whether the specified x is outside the range of min and max.

public static bool IsNotWithinRange<T>(T x, T min, T max) where T : struct, IConvertible

Parameters

x T

The object to compare.

min T

The minimum value of x.

max T

The maximum value of x.

Returns

bool

true if x is outside the range of min and max; otherwise false.

Type Parameters

T

The type of objects to compare.