The general runtime type information.

Properties

doc:Null<String>

The documentation of the type. This information is only available if the compiler flag -D use_rtti_doc was in place. Otherwise, or if the constructor has no documentation, the value is null.

file:Null<String>

The full slash path of the .hx file containing the type. This might be null in case there is no such file, e.g. if the type is defined through a macro.

isPrivate:Bool

Whether or not the type is private.

meta:MetaData

The metadata the type was annotated with.

module:Path

The type path of the module containing the type.

params:TypeParams

An array of strings representing the names of the type parameters the type has.

path:Path

The type path of the type.

platforms:Platforms

A list of strings representing the targets where the type is available.