package haxe.rtti
Available on all platforms
Rtti is a helper class which supplements the @:rtti
metadata.
See also:
staticgetRtti<T>(c:Class<T>):Classdef
Returns the haxe.rtti.CType.Classdef
corresponding to class c
.
If c
has no runtime type information, e.g. because no @:rtti
was added, an exception of type String
is thrown.
If c
is null
, the result is unspecified.
statichasRtti<T>(c:Class<T>):Bool
Tells if c
has runtime type information.
If c
is null
, the result is unspecified.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/rtti/Rtti.html