code: function capitalize(string) {
        if (string == null) {
          return '';
        }
        string = String(string);
        return string.charAt(0).toUpperCase() + string.slice(1);
      }
docs: /*-------------------------------------------------------------------------- 
  Converts the first character of `string` to upper case.
  
  @static
  @memberOf _
  @category Strings
  @param {string} string The string to capitalize.
  @returns {string} Returns the capitalized string.
  @example
  
  _.capitalize('fred');
  // => 'Fred'