value to test
boolean indicating if a value is a 1-dimensional ndarray-like object
var ndarray = require( `@stdlib/ndarray/ctor` );
var arr = ndarray( 'generic', [ 0, 0, 0, 0 ], [ 4 ], [ 1 ], 0, 'row-major' );
var bool = isVectorLike( arr );
// returns true
bool = isVectorLike( [] );
// returns false
Tests if a value is a 1-dimensional ndarray-like object.