I would like get in code name of base enum not value or label. With this code I get label not name:
info(enum2str(KPAssetGroup::PWNiP));
Simply use enum2Symbol()
For example:
enum2Symbol(enumNum(KPAssetGroup), KPAssetGroup::PWNiP);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With