Table.IsEmpty
Sözdizimi
Table.IsEmpty(table as table) as logical
Hakkında
öğesinin table
herhangi bir satır içerip içermediğini gösterir. Satır yoksa (tablo boşsa) false
döndürürtrue
.
Örnek 1
Tablonun boş olup olmadığını belirleyin.
Kullanım
Table.IsEmpty(
Table.FromRecords({
[CustomerID = 1, Name = "Bob", Phone = "123-4567"],
[CustomerID = 2, Name = "Jim", Phone = "987-6543"],
[CustomerID = 3, Name = "Paul", Phone = "543-7890"]
})
)
Çıkış
false
Örnek 2
Tablonun ({})
boş olup olmadığını belirleyin.
Kullanım
Table.IsEmpty(Table.FromRecords({}))
Çıkış
true