[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'System' (#rtl)

# TypeOf

Return pointer to VMT of an object

## Declaration

Source position: system.fpd line 95

`function TypeOf(`
`T: TObjectType`
`):Pointer;`

## Description

TypeOf is a compiler intrinsic: it returns a pointer to the VMT of the object type T.

## See also

Default |  | Return Default initialized value
TypeInfo |  | Return pointer to type information for type
GetTypeKind |  | Return type kind for a type

Documentation generated on: May 14 2021