Numerics.

IsNumericType<T>(T) Method

Summary

Checks the type of the argument, returning true if the argument is a numeric type.
Namespace
TCLite.Constraints
Containing Type
Numerics

Syntax

public static bool IsNumericType<T>(T value)

Type Parameters

Name Description
T

Parameters

Name Type Description
value T The value to check

Return Value

Type Description
bool true if the value is a numeric type