IsOfType Method

CuttingEdge.Conditions

Overload List

  NameDescription
IsOfType<(Of <(T>)>)(ConditionValidator<(Of <(T>)>), Type)
Checks whether the Type of the given value is of type. An exception is thrown otherwise. When the given value is a null reference, the check will always pass, regardless of the specified type. Please use the IsNotNull method to check for null references).
IsOfType<(Of <(T>)>)(ConditionValidator<(Of <(T>)>), Type, String)
Checks whether the Type of the given value is of type. An exception is thrown otherwise. When the given value is a null reference, the check will always pass, regardless of the specified type. Please use the IsNotNull method to check for null references).

See Also