buffer length
array shape
boolean indicating if a buffer length is compatible with a provided shape array
var shape = [ 2, 2 ];
var bool = isBufferLengthCompatibleShape( 4, shape );
// returns true
var shape = [ 2, 2 ];
var bool = isBufferLengthCompatibleShape( 3, shape );
// returns false
Returns a boolean indicating if a buffer length is compatible with a provided shape array.