Normalizes an enum such that a bare string is converted to an enum using that string as the symbol.
// The following three lines of code are equivalent:normalize_enum(enm.foo);normalize_enum(enm["foo"]);normalize_enum("foo"); Copy
// The following three lines of code are equivalent:normalize_enum(enm.foo);normalize_enum(enm["foo"]);normalize_enum("foo");
Generated using TypeDoc
Normalizes an enum such that a bare string is converted to an enum using that string as the symbol.