<commit_before>const TYPE = Object.freeze({
  STRING: '[object String]',
  OBJECT: '[object Object]'
});

export default class Utils {
  static toString(value) {
    return Object.prototype.toString.call(value);
  }

  static isString(value) {
    return Utils.toString(value) === TYPE.STRING;
  }

  static isObject(value) {
    return Utils.toString(value) === TYPE.OBJECT;
  }

  static zip(array1, array2) {
    if (!array1 || !array2) {
      return [];
    }

    if (array1.length !== array2.length) {
      return [];
    }

    return array1.map((name, index) => [array1[index], array2[index]]);
  }
}
<commit_msg>Removed unused method<commit_after>const TYPE = Object.freeze({
  STRING: '[object String]',
  OBJECT: '[object Object]'
});

export default class Utils {
  static toString(value) {
    return Object.prototype.toString.call(value);
  }

  static isString(value) {
    return Utils.toString(value) === TYPE.STRING;
  }

  static isObject(value) {
    return Utils.toString(value) === TYPE.OBJECT;
  }
}

{'fraction_non_alphanumeric': 0.15414634146341463, 'fraction_numerical': 0.00878048780487805, 'mean_word_length': 3.5, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6383984', 'n_tokens_mistral': 346, 'n_tokens_neox': 334, 'n_words': 72}