LuaScript Xojo Plugin

LuaScriptContext.IsNoneOrNil Method

Checks if a item on the stack is a nil or none.

IsNoneOrNil(
   index as Integer) as Boolean

Parameters

index
The index of the element in the stack to check for. -1 is the element at top of the stack, the last element pushed onto the stack.

Returns

Boolean
True if the item is none or nil, else false

Remarks

See Also

LuaScriptContext Class