Method code for $root.query_semaphore()

[Turn off line numbering]
  1: arg type;
  2: var t;
  3: 
  4: return type((| (t = semaphores[type]) |)) != 'error && t in tasks() && t != task_id();

// Created as a part of ColdCore, see: @help Credit

Tlon