haXe API Documentation
Back |
Indexextern class haxe.EnumValueTools
import haxe.EnumTools
Available in flash8, neko, js, flash, php, cpp
- static inline function equals<T>(a : T, b : T) : Bool
Recursively compares two enum instances a
and b
by value.
Unlike a
== b
, this function performs a deep equality check on the
arguments of the constructors, if exists.
If a
or b
are null, the result is unspecified.
- static inline function getIndex(e : EnumValue) : Int
- static inline function getName(e : EnumValue) : String
- static inline function getParameters(e : EnumValue) : Array<Dynamic>
Back |
Index