Static
getDetermines the minimum and maximum numeric values of an enum.
Code based on answer: https://stackoverflow.com/a/72284659/968451
Enum using values mapped to a number.
a tuple of two numbers, the first is the minimum and the second the maximum
Support methods for enum