klyn.Enum.bind
method
public static bind(instance as Enum, stateName as String, typeName as String = "") as Enum:
Description
Binds an enum instance to its symbolic state name and returns the same instance. This helper is primarily used by compiler-generated enum code.