Servertec | empty( ) | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Returns whether the specified stack object is empty. Syntaxempty( stack )stack.stack( ) Parametersstack the stack object to check.Returnsboolean true if stack is empty.false if stack is not empty. Example
if s.empty( ) then print( "ok") end s.push("a")
|
|
top of page
|