<commit_before>var toStr = Object.prototype.toString;
var fnToStr = Function.prototype.toString;

module.exports = function isArrowFunction(fn) {
	"use strict";
	var fnStr = toStr.call(fn);
	return fnStr === '[object Function]' && fnToStr.call(fn).indexOf('function') !== 0;
};

<commit_msg>In IE 9 and 10, the native function source has a leading newline.<commit_after>var toStr = Object.prototype.toString;
var fnToStr = Function.prototype.toString;
var isFnRegex = /^\s*function/;

module.exports = function isArrowFunction(fn) {
	"use strict";
	var fnStr = toStr.call(fn);
	return fnStr === '[object Function]' && !isFnRegex.test(fnToStr.call(fn));
};


{'fraction_non_alphanumeric': 0.1506849315068493, 'fraction_numerical': 0.0060882800608828, 'mean_word_length': 5.388349514563107, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '269663', 'n_tokens_mistral': 220, 'n_tokens_neox': 214, 'n_words': 54}