function dtype( value ) {
	var i;
	if ( isArray( value ) ) {
		return 'generic';
	}
	if ( isBuffer( value ) ) {
		return null;
	}
	for ( i = 0; i < NTYPES; i++ ) {
		if ( value instanceof CTORS[ i ] ) {
			return DTYPES[ i ];
		}
	}
	// If the above failed, fall back to a more robust (and significantly slower) means for resolving underlying data types:
	return ctor2dtype[ constructorName( value ) ] || null;
}
Returns the data type of an array.

@param {*} value - input value
@returns {(string|null)} data type

@example
var dt = dtype( [ 1, 2, 3 ] );
// returns 'generic'

var dt = dtype( 'beep' );
// returns null