Method code for $channel_db<$db>.exact_match()

[Turn off line numbering]
  1: arg key;
  2: var match;
  3: 
  4: // get an exact match of a key, return the value
  5: match = (| type(database) == 'dictionary ? database[key] : (database.match_exact(key))[2] |);
  6: if (match == ~keynf)
  7:     throw(~matchnf, "No object by the key \"" + key + "\" exists.");
  8: return match;

// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit

Tlon