docs: function excludeTheSame(array, isSame) {
      if (array === null || array === undefined) {
          throw new Error('array should not be null or undefined');
      }
      var result = [];
      if (!(0, _is.isFunction)(isSame)) {
          isSame = _isSame;
      }
      if (array.length) {
          result.push(array[0]);
      } else {
          return result;
      }
      for (var i = 0; i < array.length; i++) {
          for (var j = 0; j < result.length; j++) {
              if (isSame(result[j], array[i])) {
                  break;
              }
              if (j === result.length - 1) {
                  result.push(array[i]);
                  break;
              }
          }
      }
      return result;
  }