code: function(type, fn) {
      if (!type || (typeof type !== 'number' &&
          typeof type !== 'string')) {
        return fn('Error getting Type. You did not specify the ' +
          'type name or id number of the type you want to retrieve.');
      }
  
      if (typeof type === 'string') {
        type = getTypeNumberFromString(type);
      }
  
      type = type.toString();
      var apiCall = 'http://pokeapi.co/api/v' + defaults.version +
        '/type/' + type;
  
      makeTheCall(type, 'type', apiCall, function(err, data) {
        return fn(err, data);
      });
    }
docs: /*
  GET the type at the specified id number or name.
  
  @param {Number} type id number
  @param {Function} return function
  @return {Object}