code: function capitalize(val) {
      if (!is_1.isValue(val))
          return null;
      val = val.toLowerCase();
      return "" + val.charAt(0).toUpperCase() + val.slice(1);
  }
docs: Capitalize
  Converts string to capitalize.
  
  @param val the value to be transformed.