code: function expectOne(obj, type) {
  	if (obj === undefined)
  		return (type == 'undefined');
  	else if (obj === null)
  		return (type == 'null');
  	else if (obj.__proto__ === undefined)
  		return (type == 'no prototype')
  	else if (obj.constructor.name != type)
  		return false;
  	else
  		return true;
  }
docs: ^ A private helper to perform one object/type evaluation < true if obj is type; false if not