EnumSymbol Class
One of the constant values that is generated by the Enum "addSymbol" method. EnumSymbols should ONLY be created via the Enum.addSymbol method.
var DayOfWeek = new Enum("DayOfWeek");
DayOfWeek.Monday = DayOfWeek.addSymbol();
Methods
getName
()
Returns the name of this symbol.
Example:
var name = DayOfWeek.Monday.getName();
// name === "Monday"
toString
()
Same as the getName method. Returns the name of this symbol.
Example:
var name = DayOfWeek.Monday.toString();
// name === "Monday"