CustomEnum
Allows for the creation of custom Enums that mimic the behavior of Roblox's built-in Enums.
Constructors
new
Creates a new CustomEnum object with the provided name and items. The items parameter should be a table where the keys are the names of the enum items and the values are their corresponding values.
CustomEnum.new ( name: string, items: table ) : CustomEnum
Parameters
| name : string |
| items : table |
Returns
| CustomEnum |