code: function setTypeValueFromInstance(node)
  		{
  			var val = node.instance;
  			if(val === undefined)
  			{	
  				node.type = "undefined";
  				node.value = "undefined";
  			}
  			else if(val === null)
  			{
  				node.type = "null";
  				node.value = "null";
  			}
  			else
  			{
  				var valType = typeof val;
  
  				if(valType === "boolean")
  				{
  					node.type = "boolean";
  					node.value = val.toString();
  				}
  				else if (valType === "number")
  				{
  					node.type = "number";
  					node.value = val.toString();
  				}
  				else if (valType === "string")
  				{
  					node.type = "string";
  					node.value = val;
  				}
  				else if (valType === "symbol")
  				{
  					node.type = "symbol";
  					node.value =  val.toString();
  				}
  				else if(valType === "function")
  				{
  					node.type = "function";
  					node.value =  val.toString();
  				}
  				else if(val instanceof Date)
  				{
  					node.type = "date";
  					node.value = val.getTime().toString();  
  				}
  				else if(val instanceof Array)
  				{
  					node.type = "array";
  				}
  				else if(jsmeta.isEmpty(val))
  				{
  					node.type = "empty";
  					node.value = "empty";
  				}
  				else
  				{
  					node.type = "object";
  				}
  			}	
  		}
docs: hydrates type and value properties from a value