docs: function by(values, keyName, keyValue) {
      if(values == null) {
          return null;
      }
      if(values instanceof Object) {
          if(values instanceof Array) {
              var results = [];
              for(var i=0; i<values.length; i++) {
                  var obj2 = values[i];
                  addInResults(obj2, keyName, keyValue, results);
              }
              return unique(results);
          }
          else {
              var results = [];
              for (var valueKey in values) {
                  var value = values[valueKey];
                  if (value != null && value instanceof Object) {
                      addInResults(value, keyName, keyValue, results);
                  }
              }
              return unique(results);
          }
      }
      return [];
  }