function isSquareMatrix( v ) {
	return (
		isMatrixLike( v ) &&
		v.shape[ 0 ] === v.shape[ 1 ]
	);
}
Tests if a value is a 2-dimensional ndarray-like object having equal dimensions.

@param {*} v - value to test
@returns {boolean} boolean indicating if a value is a 2-dimensional ndarray-like object having equal dimensions

@example
var ndarray = require( '@stdlib/ndarray/ctor' );

var arr = ndarray( 'generic', [ 0, 0, 0, 0 ], [ 2, 2 ], [ 2, 1 ], 0, 'row-major' );
var bool = isSquareMatrix( arr );
// returns true

bool = isSquareMatrix( [] );
// returns false