rename_enum

Rename an enum type.

This function generates an event.

Function

rename_enum(current_name, new_name);

Arguments

Argument Type Description
current_name str (required) Current enum type name.
new_name str (required) New name for the enum type.

Return value

Returns nil when successful.