<commit_before>/******************************************************************************
 *                              ~b.lack.array~                                *
 *                            ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾                              *
 * Provides missing Array functionality.                                      *
 *                                                                            *
 *     ________________________________________________________________       *
 *       Copyright (c) 2011 <NAME> // Licenced under MIT/X11         *
 ******************************************************************************/


(function (root) {

	// Get the fallback function
	if (typeof exports != "undefined")  fallback = require('./core').fallback
	else                                fallback = b.lack.fallback

	// Alias, error messages and stuff
	var classOf = Object.prototype.toString
	  , abs     = Math.abs
	  , max     = Math.max
	  , min     = Math.min
	  , fallback


	///// Function `isArray` /////////////////////////////////////////////////
	//
	//     isArray(Obj:obj) → Bool
	//
	// Returns `true` if a variable is an array, `false` if it is not.
	//
	function arrayp(obj) {
		return classOf.call(obj) == '[object Array]'
	}


	///// Function `indexOf` /////////////////////////////////////////////////
	//
	//     #indexOf(value[, Num:start]) → Num
	//
	// Compares `value` to the elements of the array, in ascending order, using
	// the Strict Equality Comparison algorithm. If a match is found, that
	// match is returned, otherwise, -1 is returned.
	// 
	// The optional `start` argument defines the array index at which the
	// search should start. If it's not present, or 0, the whole array will be
    // searched, otherwise, only the part starting at the given index will be
	// searched.
	// <commit_msg>Minor comment editing to limit each line to 72 characters.<commit_after>/******************************************************************************
 *                              ~b.lack.array~                                *
 *                            ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾                              *
 * Provides missing Array functionality.                                      *
 *                                                                            *
 *     ________________________________________________________________       *
 *       Copyright (c) 2011 <NAME> // Licenced under MIT/X11         *
 ******************************************************************************/


(function (root) {

	// Get the fallback function
	if (typeof exports != "undefined")  fallback = require('./core').fallback
	else                                fallback = b.lack.fallback

	// Alias, error messages and stuff
	var classOf = Object.prototype.toString
	  , abs     = Math.abs
	  , max     = Math.max
	  , min     = Math.min
	  , fallback


	///// Function `isArray` /////////////////////////////////////////////////
	//
	//     isArray(Obj:obj) → Bool
	//
	// Returns `true` if a variable is an array, `false` if it is not.
	//
	function arrayp(obj) {
		return classOf.call(obj) == '[object Array]'
	}


	///// Function `indexOf` /////////////////////////////////////////////////
	//
	//     #indexOf(value[, Num:start]) → Num
	//
	// Compares `value` to the elements of the array, in ascending
	// order, using the Strict Equality Comparison algorithm. If a match
	// is found, that match is returned, otherwise, -1 is returned.
	// 
	// The optional `start` argument defines the array index at which
	// the search should start. If it's not present, or 0, the whole
	// array will be searched, otherwise, only the part starting at the
	// given index will be searched.
	// 
{'fraction_non_alphanumeric': 0.23386666666666667, 'fraction_numerical': 0.0048, 'mean_word_length': 1.558663028649386, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '597555', 'n_tokens_mistral': 1008, 'n_tokens_neox': 903, 'n_words': 293}