function array2dtype( array ) {
	return dtype2wasm( dtype( array ) || 'generic' );
}
Returns the WebAssembly data type for a provided array.

@param {Collection} array - input array
@returns {string} data type

@example
var Float64Array = require( '@stdlib/array/float64' );

var dt = array2dtype( new Float64Array( 4 ) );
// returns 'float64'

@example
var dt = array2dtype( [ 0, 1, 0, 1 ] );
// returns 'float64'

@example
var Float32Array = require( '@stdlib/array/float32' );

var dt = array2dtype( new Float32Array( 4 ) );
// returns 'float32'