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

NumberComparer.IsSmallerThan Method

IsSmallerThan(Object, Int64)

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

IsSmallerThan(Object, UInt64)

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

IsSmallerThan(Object, Double)

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

IsSmallerThan(Object, Decimal)

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