Returns all the available variants of an enum.
enum Direction { Left, Right };type DirectionOutput = GetEnumTo<Direction>; // 0 | 1 Copy
enum Direction { Left, Right };type DirectionOutput = GetEnumTo<Direction>; // 0 | 1
Returns all the available variants of an enum.