Compruebe si la matriz está vacía o nula

Me gustaría saber cómo verificar si una matriz está vacía o nula en jQuery. Lo intentéarray.length === 0 pero no funcionó. Tampoco arrojó ningún error.

Este es el código:

var album_text = new Array();

$("input[name='album_text[]']").each(function(){
  if( $(this).val() &&  $(this).val() != '') {
    album_text.push($(this).val());
  }
});
if (album_text.length === 0) {
  $('#error_message').html("Error");
}

else {
  // send data
}