function boolean2uint8( x ) {
	x.data = reinterpretBoolean( x.data, 0 );
	x.accessorProtocol = false;
	return x;
}
Converts a boolean ndarray to an 8-bit unsigned integer ndarray.

## Notes

-   The function mutates the input ndarray object.

@private
@param {Object} x - input ndarray object
@returns {Object} output ndarray object