Added in 3.9

/hrename <table> <newtable>

Renames a hash table.

Parameters

<table> - The table name to rename.
<newtable> - The new table name.

Example

alias testrename {
  hmake table
  hadd table item value
  echo -sg $hget(table, item)
  hrename table newtable
  echo -sg $hget(newtable, item)
}