This is primarily to avoid the use of !! in code, trying not to create too much code as a result (obviously still a net increase). Also refactoring to its own file to make the enum easier to find.
Note, NodeCategory does similar, I might propose similar there if everyone's good with the API. However, that's just two, so creating something like enum_base felt like too much.
This is primarily to avoid the use of
!!
in code, trying not to create too much code as a result (obviously still a net increase). Also refactoring to its own file to make the enum easier to find.Note, NodeCategory does similar, I might propose similar there if everyone's good with the API. However, that's just two, so creating something like enum_base felt like too much.