function isArrayWithMax( value, max ) {
	var val;
	if ( !isNumber( max ) ) {
		throw new TypeError( 'isArrayWithMax()::invalid input argument. Maximum allowed value must be numeric. Value: `' + max + '`.' );
	}
	if ( !isArray( value ) ) {
		return false;
	}
	for ( var i = 0; i < value.length; i++ ) {
		val = value[ i ];
		if ( !isNumber( val ) || val > max ) {
			return false;
		}
	}
	return true;
} // end FUNCTION isArrayWithMax()
/**
* FUNCTION: isArrayWithMax( value, max )
*	Validates if a value is a numeric array in which no element exceeds a maximum value.
*
* @param {*} value - value to be validated
* @param {Number} max - maximum allowed value
* @returns {Boolean} boolean indicating if a value is a numeric array in which no element exceeds a maximum value
*/
isArrayWithMax( value, max )
Validates if a value is a numeric array in which no element exceeds a maximum value.
isArrayWithMax ( value max ) Validates if a value is a numeric array in which no element exceeds a maximum value .
function isArrayWithMax( value, max ) {
	var val;
	if ( !isNumber( max ) ) {
		throw new TypeError( 'isArrayWithMax()::invalid input argument. Maximum allowed value must be numeric. Value: `' + max + '`.' );
	}
	if ( !isArray( value ) ) {
		return false;
	}
	for ( var i = 0; i < value.length; i++ ) {
		val = value[ i ];
		if ( !isNumber( val ) || val > max ) {
			return false;
		}
	}
	return true;
} 
function isArrayWithMax ( value , max ) { var val ; if ( ! isNumber ( max ) ) { throw new TypeError ( 'isArrayWithMax()::invalid input argument. Maximum allowed value must be numeric. Value: `' + max + '`.' ) ; } if ( ! isArray ( value ) ) { return false ; } for ( var i = 0 ; i < value . length ; i ++ ) { val = value [ i ] ; if ( ! isNumber ( val ) || val > max ) { return false ; } } return true ; }
FUNCTION: isArrayWithMax( value, max )
Validates if a value is a numeric array in which no element exceeds a maximum value.
FUNCTION : isArrayWithMax ( value max ) Validates if a value is a numeric array in which no element exceeds a maximum value .
// end FUNCTION isArrayWithMax()