code: function toArray(keys) {
  		var startIndex = 1;
  		var thisKeys = keys;
  		if (!D.utils.dataTypeEquals(thisKeys, 'boolean')) {
  			thisKeys = false;
  			startIndex = 0;
  		}
  
  		var thisArray = [];
  		for (var i = startIndex, len = arguments.length; i < len; i++) {
  			var args = arguments[i];
  			if (!args)
  				continue;
  
  			for (var j in args) {
  				if (!args.hasOwnProperty(j))
  					continue;
  
  				if (thisKeys === true && !(args instanceof Array))
  					thisArray.push(j);
  				else
  					thisArray.push(args[j]);
  			}
  		}
  		return thisArray;
  	}
docs: @function {toArray} Convert Object(s) to an Array/Array of keys
  @param {[keys]}
  @type {Boolean} Specifies if the result will be an array of keys (true), or an array of objects (false)
  @type {Object} The first object to convert
  @end
  @param {Object} {[args...]} Objects to add to Array
  @return {Array} If *keys* is false or an Object, than all array elements will be the properties of the supplied object(s).
  If *keys* is true, than all array elements will be the keys of all the properties of the supplied object(s).
  @see {devoir.data.extract} {devoir.data.toLookup}
  @example {javascript}
  var myArray = D.data.toArray(
  {
  id:'derp',
  field: 'test',
  caption: 'Hello world!'
  });
  
  myArray === ['derp','test','Hello World!'];
  
  myArray = myArray = D.data.toArray(true,
  {
  id:'derp',
  field: 'test',
  caption: 'Hello world!'
  });
  
  myArray === ['id','field','caption'];