Method code for $db.exact_match()

[Turn on line numbering]
arg key;
var match;

// get an exact match of a key, return the value
match = (| type(database) == 'dictionary ? database[key] : (database.match_exact(key))[2] |);
if (match == ~keynf)
    throw(~matchnf, "No object by the key \"" + key + "\" exists.");
return match;

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

Tlon