function isScalarCompatible( params ) {
	var count;
	var p;
	var i;

	count = 0;
	for ( i = 0; i < params.length; i++ ) {
		p = params[ i ];
		if ( p.scalar || p.ndims === 0 ) {
			count += 1;
		}
	}
	return ( count === params.length );
}
Checks whether all parameters are scalar compatible.

## Notes

-   A parameter is scalar compatible if, and only if, the parameter value is either a zero-dimensional ndarray or already a scalar value.

@private
@param {Array<Object>} params - list of parameter objects
@returns {boolean} boolean indicating whether all parameters are scalar compatible