Enum

package cs.system

extends ValueType

implements IComparable, IConvertible, IFormattable

Available on cs

Static methods

staticFormat(enumType:Type, value:Dynamic, format:String):String

staticGetName(enumType:Type, value:Dynamic):String

staticGetNames(enumType:Type):NativeArray<String>

staticGetUnderlyingType(enumType:Type):Type

staticGetValues(enumType:Type):Array

staticIsDefined(enumType:Type, value:Dynamic):Bool

staticParse(enumType:Type, value:String):Dynamic

staticParse(enumType:Type, value:String, ignoreCase:Bool):Dynamic

staticToObject(enumType:Type, value:UInt8):Dynamic

staticToObject(enumType:Type, value:UInt64):Dynamic

staticToObject(enumType:Type, value:UInt):Dynamic

staticToObject(enumType:Type, value:UInt16):Dynamic

staticToObject(enumType:Type, value:Int8):Dynamic

staticToObject(enumType:Type, value:Dynamic):Dynamic

staticToObject(enumType:Type, value:Int64):Dynamic

staticToObject(enumType:Type, value:Int):Dynamic

staticToObject(enumType:Type, value:Int16):Dynamic

Methods

finalCompareTo(target:Dynamic):Int

finalGetTypeCode():TypeCode

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/Enum.html