Method code for $root.corify()

[Turn off line numbering]
  1: var d;
  2: 
  3: if (sender() != $sys)
  4:     throw(~sysonly, "This should only be called by $sys.make_core().");
  5: 
  6: // reverse engineer it--if coreify_<object> exists,
  7: // call it on this object and all of its descendants.
  8: for d in (.descendants().setremove($sys) + [$sys]) {
  9:     .corify_descendants_of(d);
 10:     refresh();
 11: }

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

Tlon