Method code for $has_commands.command_info()

[Turn on line numbering]
arg type, cmd;

return (| get_var(type)[cmd] |) || throw(~cmdnf, "Command \"" + cmd + "\" is not defined on this object.", cmd);

["// Created 26-Mar-1995 as a part of ColdCore, see: @help Credit"]

the Cold Dark