<commit_before>'use strict';

// MODULES //

var ctorName = require( '@stdlib/utils/constructor-name' );
var CTORS = require( './ctors.json' );


// MAIN //

/**
* Tests if a value is a typed array.
*
* @param {*} value - value to test
* @returns {boolean} boolean indicating if a value is a typed array
*
* @example
* var bool = isTypedArray( new Int8Array( 10 ) );
* // returns true
*/
function isTypedArray( v ) {
	var i;
	v = ctorName( v );
	for ( i = 0; i < CTORS.length; i++ ) {
		if ( CTORS[ i ] === v ) {
			return true;
		}
	}
	return false;<commit_msg>Fix JSDoc lint error<commit_after>'use strict';

// MODULES //

var ctorName = require( '@stdlib/utils/constructor-name' );
var CTORS = require( './ctors.json' );


// MAIN //

/**
* Tests if a value is a typed array.
*
* @param {*} v - value to test
* @returns {boolean} boolean indicating if a value is a typed array
*
* @example
* var bool = isTypedArray( new Int8Array( 10 ) );
* // returns true
*/
function isTypedArray( v ) {
	var i;
	v = ctorName( v );
	for ( i = 0; i < CTORS.length; i++ ) {
		if ( CTORS[ i ] === v ) {
			return true;
		}
	}
	return false;
{'fraction_non_alphanumeric': 0.1668145519077196, 'fraction_numerical': 0.00709849157054126, 'mean_word_length': 2.863013698630137, 'pattern_counts': {'":': 0, '<': 5, '<?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': '938279', 'n_tokens_mistral': 425, 'n_tokens_neox': 411, 'n_words': 136}