5.72 How to find if package is module or table?

New packages are module, which allows using packageName:-function() since it is easier. Old packages use tables which needs packageName[function]() which is not common.

To find if package is based on module or not, use the command

           type(combstruct,'`module`');
 

This will return true or false. To know if name is package use the command

          type(combstruct,'package');