docs: function trimEndBlankLines(array) {
  
      if (!array || array.length < 1) {
          return array;
      }
  
      let temp;
      while (array.length > 0) {
          temp = array[array.length - 1];
          if (temp === '' || Str.trim(temp, ' \t') === '') {
              array.pop();
          } else {
              break;
          }
      }
  
      return array;
  
  }