MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Contracts.​NumericNumber­ComparerIs­Strictly­Smaller­Than
Open sandboxFocus

NumberComparer.IsStrictlySmallerThan Method

IsStrictlySmallerThan(Object, Int64)

Declaration
public static Nullable<bool> IsStrictlySmallerThan(object o, long max)
Parameters
Type Name Description
System.Object o
System.Int64 max
Returns
Type Description
System.Nullable<System.Boolean>

IsStrictlySmallerThan(Object, UInt64)

Declaration
public static Nullable<bool> IsStrictlySmallerThan(object o, ulong max)
Parameters
Type Name Description
System.Object o
System.UInt64 max
Returns
Type Description
System.Nullable<System.Boolean>

IsStrictlySmallerThan(Object, Double)

Declaration
public static Nullable<bool> IsStrictlySmallerThan(object o, double max)
Parameters
Type Name Description
System.Object o
System.Double max
Returns
Type Description
System.Nullable<System.Boolean>

IsStrictlySmallerThan(Object, Decimal)

Declaration
public static Nullable<bool> IsStrictlySmallerThan(object o, Decimal max)
Parameters
Type Name Description
System.Object o
System.Decimal max
Returns
Type Description
System.Nullable<System.Boolean>