Method code for $channel_db.search()

[Turn off line numbering]
  1: arg channel;
  2: var key;
  3: 
  4: if (type(channel) != 'symbol)
  5:     key = .strip_key(channel);
  6: else
  7:     key = channel;
  8: catch ~keynf, ~matchnf
  9:     return (> .exact_match(key) <);
 10: with
 11:     throw(~keynf, "Unknown channel: " + channel);

// Created 13-Oct-1996 as a part of ColdCore, see: @help Credit

Tlon