TRttiTypeHelper.IsGenericTypeOf(string) Method

Determines whether the current type is of the specified generic type.

Namespace: Spring.Reflection
public
 function IsGenericTypeOf(const genericType: string): Boolean; overload;

Parameters

genericType
Type: string

The generic type definition of the type to check for

Return Value

Type: Boolean