TRttiTypeHelper.IsGenericTypeOf<T> Method
Overloads
| IsGenericTypeOf(string) |
Determines whether the current type is of the specified generic type. |
| IsGenericTypeOf(PTypeInfo) | |
| IsGenericTypeOf<T> |
Determines whether the current type is of the specified generic type.
Delphi
function IsGenericTypeOf(const genericType: string): Boolean
Parameters
- genericType
- string
The generic type definition of the type to check for
Returns
Boolean
Delphi
function IsGenericTypeOf(genericType: PTypeInfo): Boolean
Parameters
- genericType
- PTypeInfo
Returns
Boolean