'use strict';

/**
* Test if every element of an array passes a test condition.
*
* @module @stdlib/utils/tools/array-function
*
* @example
* var isOdd = require( '@stdlib/utils/is-odd' );
* var validate = require( '@stdlib/utils/tools/array-function' );
*
* var arr1 = [ 1, 3, 5, 7 ];
* var arr2 = [ 3, 5, 'c' ];
*
* var bool = validate( isOdd, arr1 );
* // returns true
*
bool = validate( isOdd, arr2 );
* // returns false
*/

// MODULES //

var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
var every = require( './every.js' );
var raw = require( './every.raw.js' );
var create = require( './create.js' );


// MAIN //

setReadOnly( every, 'raw', raw );
setReadOnly( every, 'create', create );


// EXPORTS //

module.exports = every;

@@ -367,16 +367,18 @@
  true%0A*%0A
+* 
 bool = v

Add missing asterisk