Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

GetTypeKind

Return type kind for a type.

Declaration

Source position: system.fpd line 95

function GetTypeKind(

  const T: AnyType

):TTypeKind;

Description

GetTypeKind is a compiler intrinsic: it returns the type kind for the type T. In difference with the TypeInfo, if no type information was yet generated for the type, this statement will not ensure that the type information is available: the compiler knows the correct value, and will directly insert it into the code as a constant.

See also

Default

  

Return Default initialized value.

TypeInfo

  

Return pointer to type information for type.

TypeOf

  

Return pointer to VMT of an object.

Initialize

  

Initialize memory block using RTTI.

Finalize

  

Finalize (clean up) memory block using RTTI.


Documentation generated on: Jan 30 2024