docs: function mergeArgs(val) {
      var args = [];
      for (var _i = 1; _i < arguments.length; _i++) {
          args[_i - 1] = arguments[_i];
      }
      if (chek_1.isString(val))
          val = val.trim();
      if (!chek_1.isArray(val))
          val = [val];
      // flatten and remove dupes.
      return chek_1.flatten(val.concat(args))
          .sort()
          .filter(function (v, i, arr) {
          return !i || v !== arr[i - 1];
      });
  }