Name
IsTableEmpty -- check if table is empty (V6.1)
Synopsis
b = IsTableEmpty(t)
Function
This function checks whether the specified table is empty and returns
True
or
False
respectively.
Inputs
t
table to check
Results
b
True
or
False
Example
Print(IsTableEmpty({})) Print(IsTableEmpty({0}))
The first call will print "1" (true), the second "0" (false).
Show TOC