Method code for $root.setting_definer()

[Turn off line numbering]
  1: arg name;
  2: var a;
  3: 
  4: for a in (ancestors()) {
  5:     if (dict_contains(a.defined_settings(), name))
  6:         return a;
  7: }
  8: throw(~setnf, "Setting \"" + name + "\" is not defined.");

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

the Cold Dark