Method code for $robot.match_type()

[Turn off line numbering]
  1: arg type;
  2: 
  3: type = strsed(tostr(type), "match_", "");
  4: if (!dict_contains(match_types, type))
  5:     throw(~type, "Invalid type matcher: " + type);
  6: return (| match_types[type] |);

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

the Cold Dark