<commit_before>const isNumeric = <T extends number>(value: any): value is T => {
  return !isNaN(parseFloat(value)) && isFinite(value);
};

export default isNumeric;<commit_msg>Correct type<commit_after>const isNumeric = (value: any): boolean => {
  return !isNaN(parseFloat(value)) && isFinite(value);
};

export default isNumeric;
{'fraction_non_alphanumeric': 0.15060240963855423, 'fraction_numerical': 0.0, 'mean_word_length': 6.928571428571429, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, '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': '639947', 'n_tokens_mistral': 109, 'n_tokens_neox': 106, 'n_words': 26}