cara memeriksa apakah tabel html kosong menggunakan jQuery

if ($('#Table1 tr').length == 0) {
    //...do something here
}
Wide-eyed Wildebeest