Created
December 17, 2013 13:20
-
-
Save fakestarbaby/8004789 to your computer and use it in GitHub Desktop.
Lua でテーブルの中身が空かどうか判定する ref: http://qiita.com/fakestarbaby/items/9c9f930fec89f5315b1a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table = {} | |
if not next(users) then | |
print("Table is empty.") | |
else | |
print("Table is not empty.") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment