Some RTTI-related query routines.
Procs
proc containsTypeHeaders(env: TypeEnv; typ: TypeId): bool {.inline, ...raises: [], tags: [].}
- Returns whether typ has a type header itself or transitively contains types that have one. Source Edit
proc hasEmbeddedRttiHeaders(env: TypeEnv; typ: TypeId): bool {.inline, ...raises: [], tags: [].}
- Returns whether a value of typ transitively contains types that have RTTI headers. Source Edit
proc hasRttiHeader(env: TypeEnv; typ: TypeId): bool {....raises: [], tags: [].}
- Returns whether a value of typ has an RTTI header itself (embedded types are not considered). Source Edit