function isndarrayLike( v ) {
	return (
		v instanceof ndarray ||
		(
			v !== null &&
			typeof v === 'object' &&
			typeof v.data === 'object' &&
			typeof v.shape === 'object' &&
			typeof v.strides === 'object' &&
			typeof v.offset === 'number' &&
			typeof v.order === 'string' &&
			typeof v.ndims === 'number' &&
			typeof v.dtype === 'string' &&
			typeof v.length === 'number' &&
			typeof v.flags === 'object' &&
			typeof v.get === 'function' &&
			typeof v.set === 'function'
		)
	);
}
Tests if a value is ndarray-like.

@param {*} v - value to test
@returns {boolean} boolean indicating if a value is ndarray-like

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

var arr = ndarray( 'generic', [ 0, 0, 0, 0 ], [ 2, 2 ], [ 2, 1 ], 0, 'row-major' );

var bool = isndarrayLike( arr );
// returns true

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