TypeInfo

Return pointer to type information for type

Declaration

Source position: system.fpd line 93

  function TypeInfo(const T: AnyType) : Pointer;

Description

TypeInfo is a compiler intrinsic: it returns a pointer to the generated type information (RTTI) for the type T. If no type information was yet generated for the type, this statement will ensure that type information is available, i.e. the result is always non-nil.

See also

Name Description
Default Return Default initialized value
Finalize Finalize (clean up) memory block using RTTI
GetTypeKind Return type kind for a type
Initialize Initialize memory block using RTTI
TypeOf Return pointer to VMT of an object