sorry if I already brought this up (I don't recall...
# announcements
e
sorry if I already brought this up (I don't recall it now), but is there a way to add a generic constant on
Enums
to retrieve the max value? some sort of:
inline val <reified T: Enum<T>> T.MAX get()= enumValues<T>().size