W3cubDocs

/Haxe

Rtti

package haxe.rtti

Available on all platforms

Rtti is a helper class which supplements the @:rtti metadata.

See:

Static methods

static getRtti<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, null is returned.

If c is null, the result is unspecified.

static hasRtti<T> (c:Class<T>):Bool

Tells if c has runtime type information.

If c is null, the result is unspecified.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/rtti/Rtti.html