Co-pilot in browser says yes. Github co-pilot says yes too but they didn't seem to work.
I think the way to go is to let the enum implementers, implement another interface and do interface casting with as/is operators.
I think the way to go is to let the enum implementers, implement another interface and do interface casting with as/is operators.
Comments
Extended the standard interface, then changed so my interface impl. implements new interface.
Code:
StdInterfac = EnumField;
If not StdInterfac is "New Ext Interfac" then
exit(false);
NewExtInterFac = StdInterfac as "New Ext Interfac";
exit(NewExtInterFac.IsOk)