Method code for $robot.match_type()

[Turn on line numbering]
arg type;

type = strsed(tostr(type), "match_", "");
if (!dict_contains(match_types, type))
    throw(~type, "Invalid type matcher: " + type);
return (| match_types[type] |);

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

the Cold Dark